UNPKG

529 BTypeScriptView Raw
1import type { BigNumber as EthersBigNumberType } from "ethers-v5";
2import type { BigNumber as BigNumberJsType } from "bignumber.js";
3import type { default as BNType } from "bn.js";
4export declare function normalizeToBigInt(source: number | bigint | BNType | EthersBigNumberType | BigNumberJsType | string): bigint;
5export declare function isBigNumber(source: any): boolean;
6export declare function formatNumberType(n: string | bigint | BNType | EthersBigNumberType | BigNumberJsType): string;
7//# sourceMappingURL=bigInt.d.ts.map
\No newline at end of file