import type { GenerateConfig } from '../generate'; import type { CustomFormat, Locale } from '../interface'; export type ValueTextConfig = { formatList: (string | CustomFormat)[]; generateConfig: GenerateConfig; locale: Locale; }; export default function useValueTexts(value: DateType | null, { formatList, generateConfig, locale }: ValueTextConfig): [string[], string];