/** * Greek (Greece) language converter * * CLDR: el-GR | Greek as used in Greece * * Key features: * - Space-separated number composition * - Implicit "one" (ένα) omission before scale words * - Irregular hundreds (διακόσια, τριακόσια, etc.) * - Per-digit decimal reading */ export declare const cardinalMax: bigint; export declare const ordinalMax: bigint; export declare const currencyMax: bigint; /** * Converts a numeric value to Greek words. * @param {number | string | bigint} value - The numeric value to convert * @returns {string} The number in Greek words * @throws {TypeError} If value is not a valid numeric type * @throws {Error} If value is not a valid number format * @example * toCardinal(21) // 'είκοσι ένα' * toCardinal(1000) // 'χίλια' * toCardinal('3.14') // 'τρία κόμμα ένα τέσσερα' */ declare function toCardinal(value: number | string | bigint): string; /** * Converts a numeric value to Greek ordinal words. * @param {number | string | bigint} value - The numeric value to convert * @returns {string} The ordinal in Greek words * @throws {TypeError} If value is not a valid numeric type * @throws {Error} If value is not a positive integer * @example * toOrdinal(1) // 'πρώτος' * toOrdinal(21) // 'εικοστός πρώτος' */ declare function toOrdinal(value: number | string | bigint): string; export type CurrencyOptions = { /** * - ISO 4217 currency code to name the amount in */ currency?: import('./utils/currency-vocab.js').ElCurrency; }; /** * @typedef {object} CurrencyOptions * @property {import('./utils/currency-vocab.js').ElCurrency} [currency] - ISO 4217 currency code to name the amount in */ /** @type {Required} */ export declare const currencyDefaults: Required; /** @type {{ currency: ReadonlyArray['currency']> }} */ export declare const currencyValues: { currency: ReadonlyArray['currency']>; }; /** * Converts a numeric value to Greek Euro currency words. * @param {number | string | bigint} value - The numeric value to convert * @param {CurrencyOptions} [options] - Optional configuration * @returns {string} The currency in Greek words * @throws {TypeError} If value is not a valid numeric type * @throws {Error} If value is not a valid number format * @example * toCurrency(1) // 'ένα ευρώ' * toCurrency(2.50) // 'δύο ευρώ πενήντα λεπτά' */ declare function toCurrency(value: number | string | bigint, options?: CurrencyOptions): string; export { toCardinal, toOrdinal, toCurrency };