/** * English (Nigeria) currency profile of en-GB * * CLDR: en-NG | English as used in Nigeria * * Numerals are identical to en-GB (Commonwealth "and"-after-hundreds Western short-scale numerals) — see * docs/language-layers.md for why this is a locale *profile* rather than a * separate numeral implementation: "which words" (English) and "which * country" (Nigeria) are different axes, and only the latter varies * here. Only the default currency differs (NGN, not en-GB's * default). */ export * from './en-GB.js'; export declare const variantOf = "en-GB"; export type CurrencyOptions = { /** * - Use "and" between the major and minor unit */ and?: boolean; /** * - ISO 4217 currency code to name the amount in */ currency?: import('./utils/currency-vocab.js').EnCurrency; }; /** * @typedef {object} CurrencyOptions * @property {boolean} [and] - Use "and" between the major and minor unit * @property {import('./utils/currency-vocab.js').EnCurrency} [currency] - ISO 4217 currency code to name the amount in */ /** @type {Required} */ export declare const currencyDefaults: Required; /** * Converts a numeric value to Nigerian English currency words. Delegates * to en-GB's numeral and pluralization logic — only the default currency * differs, and any currency en-GB can name is reachable here too via the * `currency` option (see docs/language-layers.md). * @param {number | string | bigint} value - The currency amount to convert * @param {CurrencyOptions} [options] - Optional configuration * @returns {string} The amount in Nigerian English currency words * @throws {TypeError} If value is not a valid numeric type * @throws {Error} If value is not a valid number format * @example * toCurrency(42.50) // 'forty-two naira and fifty kobo' */ declare function toCurrency(value: number | string | bigint, options?: CurrencyOptions): string; export { toCurrency };