type CompactStringDecimals = Intl.NumberFormatOptions["minimumFractionDigits"] & BigIntToLocaleStringOptions["minimumFractionDigits"]; /** * Formats a number or bigint into compact string with K, M, B, or T suffix. * @param value The number or bigint to format. * @param decimals Number of decimal places to include (ignored for bigint to avoid floating point issues). * @returns The formatted number as a string. */ export declare function formatNumberToCompactString(value: number | bigint, decimals?: CompactStringDecimals): string; /** * Normalizes a bigint value to a target precision. * @param value The bigint value to normalize. * @param currentPrecision The current precision of the value. * @param targetPrecision The target precision to normalize to. * @returns The normalized bigint value. */ export declare const normalizePrecision: (value: bigint, currentPrecision: number, targetPrecision?: number) => bigint; /** * Utility function to find the maximum value from given `BigInt` values. * @param values Array of BigInt values to find the maximum from. * @returns The maximum value from the provided `BigInt` values. * @dev Works exactly like `Math.max` but for `BigInt` values. */ export declare const bigIntMax: (...values: bigint[]) => bigint; export {}; //# sourceMappingURL=numbers.d.ts.map