/** * Converts a numeric value to Yoruba words. * * @param {number | string | bigint} value - The numeric value to convert * @returns {string} The number in Yoruba words */ export function toCardinal(value: number | string | bigint): string; /** * Converts a numeric value to Yoruba 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) // 'àkọ́kọ́' * toOrdinal(2) // 'ìkejì' * toOrdinal(3) // 'ìkẹẹ̀ta' */ export function toOrdinal(value: number | string | bigint): string; /** * Converts a numeric value to Yoruba currency words (Nigerian Naira). * * Uses náírà (naira) and kọ́bọ̀ (kobo). * * @param {number | string | bigint} value - The currency amount to convert * @returns {string} The amount in Yoruba 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) // 'èjì lé lógójì náírà' * toCurrency(1.50) // 'ọ̀kan náírà àti àádọ́ta kọ́bọ̀' * toCurrency(-5) // 'àìní àrùn náírà' */ export function toCurrency(value: number | string | bigint): string;