declare function formatNumber(text: string, pattern: string | null, autoFormat?: boolean): string; export default formatNumber;