UNPKG

@node-dlc/core

Version:
10 lines (9 loc) 366 B
import BigNumber from 'bignumber.js'; export declare class BigIntMath { static max(...values: bigint[]): bigint; static min(...values: bigint[]): bigint; static sign(value: bigint): bigint; static abs(value: bigint): bigint; static clamp(min: bigint, val: bigint, max: bigint): bigint; } export declare function toBigInt(num: BigNumber): bigint;