import { WalletCore, CoinType, Derivation, PrivateKey, StoredKey, StoredKeyEncryption } from "../wallet-core"; import * as Types from "./types"; export declare class Default implements Types.IKeyStore { private readonly core; private readonly storage; constructor(core: WalletCore, storage: Types.IStorage); hasWallet(id: string): Promise; load(id: string): Promise; loadAll(): Promise; delete(id: string, password: string): Promise; mapWallet(storedKey: StoredKey): Types.Wallet; mapStoredKey(wallet: Types.Wallet): StoredKey; importWallet(wallet: Types.Wallet): Promise; import(mnemonic: string, name: string, password: string, coins: CoinType[], encryption: StoredKeyEncryption): Promise; importKey(key: Uint8Array, name: string, password: string, coin: CoinType, encryption: StoredKeyEncryption, derivation: Derivation): Promise; importKeyEncoded(key: string, name: string, password: string, coin: CoinType, encryption: StoredKeyEncryption, derivation: Derivation): Promise; addAccounts(id: string, password: string, coins: CoinType[]): Promise; addAccountsWithDerivations(id: string, password: string, coins: Types.CoinWithDerivation[]): Promise; getKey(id: string, password: string, account: Types.ActiveAccount): Promise; export(id: string, password: string): Promise; getWalletType(id: string): Promise; exportMnemonic(id: string, password: string): Promise; exportPrivateKey(id: string, password: string): Promise; exportPrivateKeyEncoded(id: string, password: string): Promise; }