import { Currency, CurrencyCode } from '../../../helpers/currencies'; /** * Returns a currency object for a given currency code */ export declare function getCurrency(currencyCode: CurrencyCode | Lowercase): Currency | undefined; /** * Returns the number of decimals for a given currency */ export declare function getDecimalLength(currency: Currency): number; /** * Add currency symbol to formatted value based on currency.symbol_first. * Some currencies have symbol as prefix, some as suffix. * Example: EUR -> € 1.000,00 * Example: LRD -> 1,000.00 $ (:iberian dollar) */ export declare function addCurrencySymbol({ formattedValue, currency, }: { formattedValue: string; currency: Currency; }): string; /** * Create a placeholder based on the currency decimal length. * Example: EUR -> 0,00 * Example: JPY -> 0 * Example: CLF -> 0,0000 */ export declare function makePlaceholder(currency: Currency, prefix?: string): string; /** * Format cents to currency. * Useful to display the returned value from `` component. * * @example * formatCentsToCurrency(100, 'EUR') //= €1,00 * formatCentsToCurrency(100000, 'USD') //= $1,000.00 * formatCentsToCurrency(100, 'JPY') //= ¥100 **/ export declare function formatCentsToCurrency(cents: number, currencyCode: CurrencyCode, stripZeroDecimals?: boolean): string;