import { type ISeparators } from "@gooddata/sdk-model"; /** * Default separators for number formatting (US locale: comma for thousands, period for decimal). * * @internal */ export declare const DEFAULT_SEPARATORS: ISeparators; /** * Formats a number with the given thousand and decimal separators. * * @param value - The number to format (null/undefined returns empty string) * @param separators - Thousand and decimal separators to use * @returns Formatted string with separators applied * * @internal */ export declare function formatNumberWithSeparators(value: number | null | undefined, separators?: ISeparators): string; /** * Shortens large numbers with K/M/B suffixes for compact display. * Only shortens numbers that are evenly divisible by 100 at their scale. * * @param value - The number to shorten (null/undefined returns empty string) * @param separators - Thousand and decimal separators to use * @returns Shortened string with K/M/B suffix or full formatted number * * @example * ``` * shortenNumber(1000, { thousand: ',', decimal: '.' }) // "1K" * shortenNumber(1500, { thousand: ',', decimal: '.' }) // "1,500" (not evenly divisible) * shortenNumber(2500000, { thousand: ',', decimal: '.' }) // "2.5M" * shortenNumber(1000000000, { thousand: ',', decimal: '.' }) // "1B" * ``` * * @internal */ export declare function shortenNumber(value: number | null | undefined, separators?: ISeparators): string; //# sourceMappingURL=numberFormat.d.ts.map