/** * French (bare-tag alias) * * `fr` has no single "correct" region, but unlike English, fr-FR and fr-BE * are currency-identical (both EUR euros/centimes) and diverge only in * cardinal grammar (septante/nonante vs. soixante-dix/quatre-vingt-dix). * This file exists so `n2words/fr` resolves without forcing a region * subtag, defaulting to fr-FR (the most widely used variant). It does NOT * speak for fr-BE or any other regional variant — see LANGUAGES.md's * "Bare-tag aliases" section for the full rationale. * * `toCurrency` is the one form this file doesn't forward untouched: a bare * tag names a language, and a default currency belongs to a country, so * `currency` is required here rather than inherited. See * docs/bare-tag-aliases.md's "Bare tags carry no default currency". */ export * from './fr-FR.js'; export declare const aliasOf = "fr-FR"; export type CurrencyOptions = Omit & Required>; /** * Every fr-FR currency default except the currency itself. * @type {Omit, 'currency'>} */ export declare const currencyDefaults: Omit, 'currency'>; /** * Converts a numeric value to French currency words. * * Unlike fr-FR's, this needs an explicit `currency`: `fr` is a language * and has no country to take a default from. * @param {number | string | bigint} value - The currency amount to convert * @param {CurrencyOptions} options - Configuration; `currency` is required * @returns {string} The amount in French currency words * @throws {TypeError} If `currency` is omitted, or options are malformed * @example * toCurrency(42.50, { currency: 'EUR' }) // 'quarante-deux euros et cinquante centimes' */ declare function toCurrency(value: number | string | bigint, options: CurrencyOptions): string; export { toCurrency };