UNPKG

1.09 kBTypeScriptView Raw
1import Wallet from './index';
2export interface EvpKdfOpts {
3 count: number;
4 keysize: number;
5 ivsize: number;
6 digest: string;
7}
8export interface EtherWalletOptions {
9 address: string;
10 encrypted: boolean;
11 locked: boolean;
12 hash: string;
13 private: string;
14 public: string;
15}
16export declare function fromEtherWallet(input: string | EtherWalletOptions, password: string): Wallet;
17/**
18 * Third Party API: Import a brain wallet used by Ether.Camp
19 */
20export declare function fromEtherCamp(passphrase: string): Wallet;
21/**
22 * Third Party API: Import a wallet from a KryptoKit seed
23 */
24export declare function fromKryptoKit(entropy: string, password: string): Promise<Wallet>;
25/**
26 * Third Party API: Import a brain wallet used by Quorum Wallet
27 */
28export declare function fromQuorumWallet(passphrase: string, userid: string): Wallet;
29declare const Thirdparty: {
30 fromEtherWallet: typeof fromEtherWallet;
31 fromEtherCamp: typeof fromEtherCamp;
32 fromKryptoKit: typeof fromKryptoKit;
33 fromQuorumWallet: typeof fromQuorumWallet;
34};
35export default Thirdparty;