/// import { BNInput, ec as Elliptic } from 'elliptic'; export declare const PathHD = "m/44'/3757'/0'/0"; export declare enum WalletTypes { 'Legacy' = 0, 'HD' = 1, 'Torus' = 2 } export declare const generateMnemonic: (numberOfWords?: number) => string; export declare const getWordlist: () => string[]; export declare const validMnemonic: (mnemonic: string) => boolean; export declare const mnemonicToSeed: (mnemonic: string, passphrase?: string, bip32Seed?: boolean) => Buffer; export declare const mnemonicToEntropy: (mnemonic: string) => string; export declare const entropyToMnemonic: (entropy: Uint8Array | Buffer | string) => string; export declare function walletFromXY(eccPoint: { x: string; y: string; }, compress?: boolean): { publicKey: string; address: string; type: WalletTypes; }; export declare function walletFromXPub(xpub: string, idx?: number): { publicKey: string; address: string; path: string; }; export declare function walletFromXPrv(xprv: string, idx?: number): { privateKey: string; publicKey: string; address: string; path: string; }; export declare function getWalletExtended(mnemonic: string | string[], passphrase?: string): { xpub: string; xprv: string; }; export declare function getKeyPairHD(mnemonic: string | string[], path_idx?: number, passphrase?: string): { type: WalletTypes; privateKey: string; publicKey: string; address: string; path: string; xpub: string; xprv: string; }; export declare function seedToKeyPair(seed: Buffer | string): { privateKey: Buffer; publicKey: Buffer; }; export declare function getKeyPairLegacy(mnemonic: string | string[], passphrase?: string): { privateKey: string; publicKey: string; address: string; type: WalletTypes; }; export declare function getPublicKeyBuffer(publicKey: string | Buffer, compress?: boolean): Buffer; export declare function publicKeyToAddress(publicKey: Buffer | string): string; export declare function isValidPrivateKey(key: Buffer | string): boolean; export declare function isValidAddress(address: Buffer | string): boolean; export declare function privateKeyToKeypair(privateKey: string): Elliptic.KeyPair; export declare function privateKeyToPublicKey(privateKey: string, compress?: boolean): Buffer; export declare function privateKeyToAccountAddress(privateKey: string): string; export declare function encryptMessage(pubKey: string | Buffer, message: string | Buffer): Buffer; export declare function decryptMessage(privateKey: Buffer | string, encrypt: Buffer | string): Buffer; export declare function signTransaction(data: BNInput, privateKey: string): Buffer; export declare function verifySignature(hash: Buffer | string, signature: Buffer | string, publicKey: Buffer | string): boolean;