export declare const isValidCurrency: (currency: string) => boolean; export declare const getFormattedValue: (value: string, locale: string, currency?: string, { showGroupSeparators, showAs, numberOfDecimals }?: { showGroupSeparators?: boolean; showAs?: "code" | "symbol"; numberOfDecimals?: number; }) => string; /** * Manual overrides for the minimum fraction digits of specific currencies, keyed by ISO currency * code. `Intl.NumberFormat` resolved options can be inconsistent across browsers for some * currencies, e.g. Chrome resolves `minimumFractionDigits` to 0 for RSD while Safari correctly * resolves it to 2 (https://issues.chromium.org/issues/40877066). Extend this map as further * browser inconsistencies are found. */ export declare const CURRENCY_MINIMUM_FRACTION_DIGITS_OVERRIDES: Record; export declare function getCurrencyMinimumFractionDigits(locale: string, currencyISOCode?: string): number; interface CurrencyFormatOptions { locale: string; options?: Intl.NumberFormatOptions; } export declare function formatCurrency(value: number | bigint, { locale, options }: CurrencyFormatOptions): string; export {}; //# sourceMappingURL=utils.d.ts.map