export declare const validateNumber: (amount: number | string) => number; export declare const toAmount: (amount: number | string, decimals?: number) => bigint; /** * Converts a fraction to its equivalent decimal value as a number. * * @param {bigint} numerator - The numerator of the fraction * @param {bigint} denominator - The denominator of the fraction * @return {number} - The decimal value equivalent to the input fraction, returned as a number. */ export declare const toDecimal: (numerator: bigint, denominator: bigint) => number; /** * Convert the amount to be displayed on the user interface. * * @param {string|bigint} amount - The amount to be converted. * @param {number} sourceDecimals - The number of decimal places in the original `amount`. * @param {number} desDecimals - The number of decimal places in the `amount` after conversion. * @return {number} The value of `amount` after conversion. */ export declare const toDisplay: (amount: string | bigint, sourceDecimals?: number, desDecimals?: number) => number;