/** * Converts a numeric value to Latvian words. * * @param {number | string | bigint} value - The numeric value to convert * @param {Object} [options] - Conversion options * @param {string} [options.gender='masculine'] - Gender for numbers < 1000 * @returns {string} The number in Latvian words * @throws {TypeError} If value is not a valid numeric type * @throws {Error} If value is not a valid number format * * @example * toCardinal(42) // 'četrdesmit divi' * toCardinal(1, { gender: 'feminine' }) // 'viena' * toCardinal(1000) // 'tūkstotis' */ export function toCardinal(value: number | string | bigint, options?: { gender?: string | undefined; }): string; /** * Converts a numeric value to Latvian 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) // 'pirmais' * toOrdinal(2) // 'otrais' * toOrdinal(21) // 'divdesmit pirmais' * toOrdinal(100) // 'simtais' * toOrdinal(1000) // 'tūkstošais' */ export function toOrdinal(value: number | string | bigint): string; /** * Converts a numeric value to Latvian currency words (Euro). * * @param {number | string | bigint} value - The currency amount to convert * @returns {string} The amount in Latvian 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) // 'četrdesmit divi eiro' * toCurrency(1) // 'viens eiro' * toCurrency(1.50) // 'viens eiro piecdesmit centu' * toCurrency(-5) // 'mīnus pieci eiro' */ export function toCurrency(value: number | string | bigint): string;