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