/**
 * Converts a bigint (or string representation of a bigint) to a number by removing the trailing `n`.
 * Please note that this can lead to loss of precision for very large bigints.
 */
export declare function bigint2number(a: bigint | string): number;
/**
 * Rounds a number to the specified number of decimal places.
 */
export declare function roundToDecimals(value: number, decimals: number): number;
