/** * Converts a numeric value to Swahili words. * * @param {number | string | bigint} value - The numeric value to convert * @returns {string} The number in Swahili words */ export function toCardinal(value: number | string | bigint): string; /** * Converts a numeric value to Swahili ordinal words. * * @param {number | string | bigint} value - The numeric value to convert (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) // 'wa kwanza' * toOrdinal(2) // 'wa pili' * toOrdinal(10) // 'wa kumi' */ export function toOrdinal(value: number | string | bigint): string; /** * Converts a numeric value to Swahili currency words (Kenyan Shilling). * * Uses shilingi and senti (100 senti = 1 shilingi). * * @param {number | string | bigint} value - The currency amount to convert * @returns {string} The amount in Swahili 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) // 'shilingi arobaini na mbili' * toCurrency(1.50) // 'shilingi moja na senti hamsini' * toCurrency(-5) // 'minus shilingi tano' */ export function toCurrency(value: number | string | bigint): string;