import { FormatOptions } from './ReactFormatter'; export type { FormatOptions }; export declare function useFormatterByType(value: any, formatType: string, formatOptions?: FormatOptions): { value: any; }; type ValueRef = { value: string; }; export declare function useCompleteFormatters(locale?: string, enableLogging?: boolean): { formatCurrency: (amount: unknown, currency?: unknown, options?: any) => ValueRef; formatNumber: (number: unknown, options?: any) => ValueRef; formatPercent: (decimal: unknown, precision?: unknown) => ValueRef; formatCompact: (number: unknown, notation?: unknown) => ValueRef; formatScientific: (number: unknown, precision?: unknown) => ValueRef; formatOrdinal: (number: unknown) => ValueRef; formatChineseNumber: (number: unknown) => ValueRef; formatTimestamp: (timestamp: unknown, pattern?: unknown) => ValueRef; formatDate: (date: unknown, options?: any) => ValueRef; formatDateCustom: (date: unknown, pattern: unknown) => ValueRef; formatRelativeTime: (date: unknown) => ValueRef; formatDuration: (seconds: unknown) => ValueRef; formatAge: (birthDate: unknown) => ValueRef; formatFileSize: (bytes: unknown, precision?: unknown, binary?: unknown) => ValueRef; formatNetworkSpeed: (bytesPerSecond: unknown) => ValueRef; formatPhone: (phone: unknown, country?: unknown) => ValueRef; formatLandline: (phone: unknown) => ValueRef; formatEmailMask: (email: unknown) => ValueRef; formatIdCard: (idCard: unknown, mask?: unknown) => ValueRef; formatBankCard: (cardNumber: unknown, mask?: unknown) => ValueRef; formatIPAddress: (ip: unknown) => ValueRef; formatMacAddress: (mac: unknown, separator?: unknown) => ValueRef; formatTruncate: (text: unknown, maxLength?: unknown, suffix?: unknown) => ValueRef; formatCapitalize: (text: unknown) => ValueRef; formatTitleCase: (text: unknown) => ValueRef; formatKebabCase: (text: unknown) => ValueRef; formatCamelCase: (text: unknown) => ValueRef; formatSnakeToCamel: (text: unknown) => ValueRef; formatCamelToSnake: (text: unknown) => ValueRef; formatStripHtml: (html: unknown) => ValueRef; formatHighlight: (text: unknown, keyword: unknown, className?: unknown) => ValueRef; formatUsernameMask: (username: unknown) => ValueRef; formatStatus: (status: unknown, statusMap?: any) => ValueRef; formatGender: (gender: unknown) => ValueRef; formatUrl: (url: unknown, maxLength?: unknown) => ValueRef; formatColor: (color: unknown, format?: unknown) => ValueRef; formatArray: (array: unknown, delimiter?: unknown) => ValueRef; }; //# sourceMappingURL=formatter.d.ts.map