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