export declare const isValidNumber: (value: unknown) => value is number; export declare function formatOrdinal(num?: number): string; export declare function formatNumber(num: number): string; /** * Parse a user-entered money string into a finite number for API payloads. * * Tolerant of locale decimal separators (e.g. ru-RU "50,75"). Amount inputs * (CurrencyInput/ActionMenuItem) strip grouping before emitting, so the value * has at most one separator — the decimal one. * * Guarantees: * - Machine format ("50.75") -> 50.75 (identical to `Number(value)`) * - Locale comma decimal ("50,75") -> 50.75 (where `Number` would give NaN) * - Empty / invalid / NaN / Infinity -> 0 (never returns NaN, so JSON never gets null) */ export declare const parseAmount: (value?: string | number | null) => number; /** Alias of parseAmount for existing call sites. */ export declare const stringToNumber: (value: string) => number; export declare const numberToString: (value: number, fixed?: number) => string; export declare function pad(num: number, length?: number): string; export declare const getAmountPlaceholder: (decimals: number) => string;