@isdk/bigint
Version:
The BigInteger class wrapped bn.js and native BitInt
17 lines (14 loc) • 472 B
TypeScript
import { I as IBigInt } from './native-bb527e79.js';
export { B as BigIntNative } from './native-bb527e79.js';
export { BN } from './bn.js';
import 'bn.js';
/**
* detect whether the native BigInt implementation exists
*/
declare function detectBigInt(): boolean;
/**
* return the native or pure js BigInt Class base on the platform
* @returns the IBigInt Class
*/
declare function getBigInteger(): Promise<IBigInt>;
export { IBigInt, detectBigInt, getBigInteger };