/** * Converts a numeric value to Serbian (Latin) 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 Serbian Latin words */ export function toCardinal(value: number | string | bigint, options?: { gender?: "masculine" | "feminine" | undefined; }): string; /** * Converts a numeric value to Serbian 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 (e.g., "prvi", "četrdeset drugi") * @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(3) // 'treći' * toOrdinal(21) // 'dvadeset prvi' * toOrdinal(42) // 'četrdeset drugi' * toOrdinal(100) // 'stoti' * toOrdinal(1000) // 'hiljaditi' */ export function toOrdinal(value: number | string | bigint): string; /** * Converts a numeric value to Serbian currency words (Serbian Dinar). * * @param {number | string | bigint} value - The currency amount to convert * @param {Object} [options] - Optional configuration * @param {boolean} [options.and=true] - Use "i" between dinars and para * @returns {string} The amount in Serbian 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) // 'četrdeset dva dinara i pedeset para' * toCurrency(1) // 'jedan dinar' * toCurrency(0.99) // 'devedeset devet para' * toCurrency(0.01) // 'jedna para' * toCurrency(42.50, { and: false }) // 'četrdeset dva dinara pedeset para' */ export function toCurrency(value: number | string | bigint, options?: { and?: boolean | undefined; }): string;