/** * Malay (bare-tag alias) * * `ms` resolves to ms-MY, currently the only Malay variant this * package implements. This file exists purely so `n2words/ms` works * without requiring a region subtag; it is not a claim that ms-MY speaks * for every Malay-speaking region. See docs/bare-tag-aliases.md for the * full rationale and LANGUAGES.md for the complete family/variant table. * * `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 './ms-MY.js'; export declare const aliasOf = "ms-MY"; export type CurrencyOptions = Omit & Required>; /** * Every ms-MY currency default except the currency itself. * @type {Omit, 'currency'>} */ export declare const currencyDefaults: Omit, 'currency'>; /** * Converts a numeric value to Malay currency words. * * Unlike ms-MY's, this needs an explicit `currency`: `ms` 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 Malay currency words * @throws {TypeError} If `currency` is omitted, or options are malformed * @example * toCurrency(42.50, { currency: 'MYR' }) // 'empat puluh dua ringgit lima puluh sen' */ declare function toCurrency(value: number | string | bigint, options: CurrencyOptions): string; export { toCurrency };