import { TEth } from '../models/TEth'; export declare namespace $bigint { const ETHER_DECIMALS = 18; const GWEI_DECIMALS = 9; const MAX_UINT256 = 115792089237316195423570985008687907853269984665640564039457584007913129639935n; const MAX_SAFE_INTEGER: bigint; function max(...args: bigint[]): bigint; function min(...args: bigint[]): bigint; function toBigInt(amount: string | number | bigint | Uint8Array): bigint; function from(amount: number | bigint | string): bigint; /** * @param amount e.g "2.4 ether", "10 gwei", "1.7^18", "123456", "1.7e18" */ function parse(amount: string): bigint; function ensureWei(amount: number | bigint, decimals: number): bigint; function toWei(amount: string | number | bigint, decimals?: number | string): bigint; function toWeiFromGwei(amount: string | number | bigint): bigint; function toEther(amount: string | number | bigint, decimals?: number | string, roundMix?: number | bigint, checked?: boolean): number; function toEtherSafe(amount: string | number | bigint, decimals?: number | string, round?: number | bigint): number; function toHex(num: string | bigint | number): TEth.Hex; function toTwos(value: bigint, bits: number): bigint; function fromTwos(value: bigint, bits: number): bigint; function mask(value: bigint, _bits: number): bigint; function toGweiFromWei(val: bigint): number; function toGweiFromEther(val: number): bigint; function multWithFloat(bigInt: bigint, float: number): bigint; function divToFloat(a: bigint, b: bigint, precision?: bigint): number; function pow(basis: bigint | number, exponent: number | bigint): bigint; function sign(value: bigint): 0n | 1n | -1n; function abs(value: bigint): bigint; function sqrt(value: bigint): bigint; }