/** * Converts a numeric value to Croatian words. * * @param {number | string | bigint} value - The numeric value to convert * @param {Object} [options] - Optional configuration * @param {('masculine'|'feminine')} [options.gender='masculine'] - Grammatical gender * @returns {string} The number in Croatian words */ export function toCardinal(value: number | string | bigint, options?: { gender?: "masculine" | "feminine" | undefined; }): string; /** * Converts a numeric value to Croatian ordinal words (masculine nominative). * * @param {number | string | bigint} value - The numeric value to convert (must be a positive integer) * @returns {string} The number as ordinal words * @throws {TypeError} If value is not a valid numeric type * @throws {RangeError} If value is negative, zero, or has a decimal part * * @example * toOrdinal(1) // 'prvi' * toOrdinal(2) // 'drugi' * toOrdinal(21) // 'dvadeset prvi' * toOrdinal(100) // 'stoti' * toOrdinal(1000) // 'tisućiti' */ export function toOrdinal(value: number | string | bigint): string; /** * Converts a numeric value to Croatian currency words (Euro). * * @param {number | string | bigint} value - The currency amount to convert * @returns {string} The amount in Croatian 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) // 'četrdeset dva eura' * toCurrency(1) // 'jedan euro' * toCurrency(1.50) // 'jedan euro pedeset centi' * toCurrency(-5) // 'minus pet eura' */ export function toCurrency(value: number | string | bigint): string;