export interface NumberFormatConfig { thousandsSeparator: string; decimalSeparator: string; } export declare function getNumberFormatConfig(locale: string): NumberFormatConfig; export interface FormatNumberOptions { /** 为 true 时保留末尾的小数点(用于聚焦输入中,避免 "23." 被格式成 "23" 打断输入) */ preserveTrailingDecimal?: boolean; } export declare function formatNumber(value: string, locale: string, options?: FormatNumberOptions): string; export declare function parseFormattedNumber(formattedValue: string, locale: string): string;