/// import * as bip32 from 'bip32'; import { Wallet } from '../types'; export declare enum CoinType { BTC = 0, ETH = 60, NEO = 888 } /** * Creates a wallet for a given token via the * [BIP-44 protocol]((https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki). * * Requires the user's master seed. */ export declare function generateWallet(masterSeed: Buffer, coinType: CoinType, index: number, net?: string): Wallet; /** * Creates the keypair used for signing payloads. Used during Nash Protocol * initialization. */ export declare function generateNashPayloadSigningKey(masterSeed: Buffer, index: number): Wallet; /** * Generates a deterministic key according to the BIP-44 spec. * * `M' / purpose' / coin' / account' / change / index` * `M' / 44' / coin' / 0' / 0` */ export declare function generateBIP44Key(masterSeed: Buffer, coinType: CoinType, index: number): bip32.BIP32Interface; /** * Derives a new key from the extended key for the given index. */ export declare function deriveIndex(extendedKey: bip32.BIP32Interface, index: number): bip32.BIP32Interface; export declare const coinTypeFromString: (s: string) => CoinType;