/// import BigNumber from 'bignumber.js'; import BN from 'bn.js'; export declare const InvalidFormatError: { new (reason?: string | undefined): { readonly name: string; readonly code: string; message: string; stack?: string | undefined; }; captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void; prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined; stackTraceLimit: number; }; export declare type UInt160 = Buffer & { readonly __uint160: undefined; }; export declare type UInt160Hex = string; export declare type UInt256 = Buffer & { readonly __uint256: undefined; }; export declare type UInt256Hex = string; export declare type ECPointBase = Buffer & { readonly __ecpoint: undefined; }; export declare type ECPointInfinity = Buffer & { readonly __ecpoint: undefined; }; export declare type ECPoint = ECPointBase | ECPointInfinity; export declare type ECPointHex = string; export declare type PrivateKey = Buffer & { readonly __privatekey: undefined; }; export declare type PrivateKeyHex = string; export declare const common: { D8: BN; NEO_ADDRESS_VERSION: number; NEO_PRIVATE_KEY_VERSION: number; ECPOINT_BUFFER_BYTES: number; ECPOINT_INFINITY: ECPointInfinity; ECPOINT_INFINITY_BYTE: number; PRIVATE_KEY_BUFFER_BYTES: number; UINT160_BUFFER_BYTES: number; UINT256_BUFFER_BYTES: number; ZERO_UINT160: UInt160; ZERO_UINT256: UInt256; NEGATIVE_SATOSHI_FIXED8: BN; TEN_FIXED8: BN; ONE_HUNDRED_FIXED8: BN; FOUR_HUNDRED_FIXED8: BN; FIVE_HUNDRED_FIXED8: BN; ONE_THOUSAND_FIXED8: BN; FIVE_THOUSAND_FIXED8: BN; TEN_THOUSAND_FIXED8: BN; ONE_HUNDRED_MILLION_FIXED8: BN; NEO_ASSET_HASH: string; GAS_ASSET_HASH: string; uInt160ToBuffer: (value: string | UInt160) => Buffer; add0x: (value: string) => string; strip0x: (value: string) => string; asUInt160: (value: {}) => UInt160; uInt160ToHex: (value: UInt160) => string; hexToUInt160: (value: string | UInt160) => UInt160; uInt160ToString: (value: string | UInt160) => string; stringToUInt160: (value: string | UInt160) => UInt160; uInt160Equal: (a: UInt160, b: UInt160) => boolean; isUInt160: (value: {}) => value is UInt160; bufferToUInt160: (value: {}) => UInt160; isUInt256: (value: {}) => value is UInt256; asUInt256: (value: {}) => UInt256; isECPoint: (value: {}) => value is ECPoint; asECPoint: (value: {}) => ECPoint; uInt256ToBuffer: (value: string | UInt256) => Buffer; bufferToUInt256: (value: {}) => UInt256; uInt256ToHex: (value: UInt256) => string; hexToUInt256: (value: string | UInt256) => UInt256; uInt256ToString: (value: string | UInt256) => string; stringToUInt256: (value: string | UInt256) => UInt256; uInt256Equal: (a: UInt256, b: UInt256) => boolean; toUInt32LE: (bytes: UInt256) => number; ecPointToBuffer: (value: string | ECPointBase | ECPointInfinity) => Buffer; bufferToECPoint: (value: {}) => ECPoint; ecPointToHex: (value: string | ECPointBase | ECPointInfinity) => string; hexToECPoint: (value: string | ECPointBase | ECPointInfinity) => ECPoint; ecPointToString: (value: string | ECPointBase | ECPointInfinity) => string; ecPointCompare: (a: string | ECPointBase | ECPointInfinity, b: string | ECPointBase | ECPointInfinity) => 0 | 1 | -1; stringToECPoint: (value: string | ECPointBase | ECPointInfinity) => ECPoint; ecPointEqual: (a: ECPoint, b: ECPoint) => boolean; ecPointIsInfinity: (value: ECPoint) => boolean; privateKeyToHex: (value: string | PrivateKey) => string; hexToPrivateKey: (value: string | PrivateKey) => PrivateKey; privateKeyToBuffer: (value: string | PrivateKey) => Buffer; bufferToPrivateKey: (value: {}) => PrivateKey; privateKeyToString: (value: string | PrivateKey) => string; stringToPrivateKey: (value: string | PrivateKey) => PrivateKey; isPrivateKey: (value: {}) => value is PrivateKey; asPrivateKey: (value: {}) => PrivateKey; fixed8FromDecimal: (value: string | number | BigNumber | BN) => BN; fixed8ToDecimal: (bn: BN) => BigNumber; fixedFromDecimal: (value: string | number | BigNumber | BN, decimals: number) => BN; fixedToDecimal: (value: BN, decimals: number) => BigNumber; reverse: (src: Buffer) => Buffer; };