/** * Converts a numeric value to Hausa words. * * @param {number | string | bigint} value - The numeric value to convert * @returns {string} The number in Hausa words */ export function toCardinal(value: number | string | bigint): string; /** * Converts a numeric value to Hausa 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) // 'na farko' * toOrdinal(2) // 'na biyu' * toOrdinal(10) // 'na goma' */ export function toOrdinal(value: number | string | bigint): string; /** * Converts a numeric value to Hausa currency words (Nigerian Naira). * * Uses naira and kobo (100 kobo = 1 naira). * * @param {number | string | bigint} value - The currency amount to convert * @returns {string} The amount in Hausa 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) // 'arba'in da biyu naira' * toCurrency(1.50) // 'É—aya naira da hamsin kobo' * toCurrency(-5) // 'babu biyar naira' */ export function toCurrency(value: number | string | bigint): string;