/** * Converts a numeric value to Czech words. * * This is the main public API. It accepts any valid numeric input * (number, string, or bigint) and handles parsing internally. * * @param {number | string | bigint} value - The numeric value to convert * @returns {string} The number in Czech words * @throws {TypeError} If value is not a valid numeric type * @throws {Error} If value is not a valid number format * * @example * toCardinal(21) // 'dvacet jedna' * toCardinal(1000) // 'tisíc' * toCardinal(2000) // 'dva tisíce' * toCardinal(5000) // 'pět tisíc' */ export function toCardinal(value: number | string | bigint): string; /** * Converts a numeric value to Czech 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) // 'první' * toOrdinal(2) // 'druhý' * toOrdinal(21) // 'dvacet první' * toOrdinal(100) // 'stý' * toOrdinal(1000) // 'tisící' */ export function toOrdinal(value: number | string | bigint): string; /** * Converts a numeric value to Czech currency words (Koruna). * * @param {number | string | bigint} value - The currency amount to convert * @returns {string} The amount in Czech 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) // 'čtyřicet dva koruny' * toCurrency(1) // 'jedna koruna' * toCurrency(1.50) // 'jedna koruna padesát haléřů' * toCurrency(-5) // 'mínus pět korun' */ export function toCurrency(value: number | string | bigint): string;