export type TGetCurrencyFormattedArgs = Parameters; export type TGetCurrencyFormattedReturn = ReturnType; /** * Formats a number as currency using `Intl.NumberFormat`. * @param {number} num Source number * @param {string} currency ISO 4217 currency code * @param {Intl.LocalesArgument} [locales] Locale or locales * @param {Omit} [options={}] Number format options * @returns {string} Localized currency value * @throws {TypeError} getCurrencyFormatted: num must be a valid number * @throws {TypeError} getCurrencyFormatted: currency must be a non-empty string * @example * getCurrencyFormatted(12.5, "USD", "en-US"); // "$12.50" * @example * // Format a product price for a Russian storefront * const priceLabel = getCurrencyFormatted(product.price, "RUB", "ru-RU", { * maximumFractionDigits: 0, * }); */ export declare const getCurrencyFormatted: (num: number, currency: string, locales?: Intl.LocalesArgument, options?: Omit) => string;