interface IGetNumberFormatProps { showThousandth?: boolean; precision?: number; prefix?: string; suffix?: string; showPercent?: boolean; } /** * 获取数值相应函数 * @param props IGetNumberFormatProps * @returns 对应函数 */ declare const useGetNumberFormat: (props: IGetNumberFormatProps) => { formatter: (realVal?: number | string | null, info?: { userTyping: boolean; input: string; }) => string; parser: (displayVal?: string | null) => number; }; export default useGetNumberFormat;