import { IAccountProvider, BaseWallet, IBaseWalletAccount, IKeyStore, IStorageSuite } from '@portkey/types'; export declare class Wallet extends BaseWallet { private readonly _addressMap; private readonly _defaultKeyName; constructor(accountProvider: IAccountProvider, storage: IStorageSuite); create(numberOfAccounts: number): this; add(account: T | string): this; get(addressOrIndex: string | number): T | undefined; remove(addressOrIndex: string | number): boolean; clear(): this; encrypt(password: string, options?: Record): Promise; decrypt(encryptedWallets: IKeyStore[], password: string, options?: Record): Promise; /** * Stores the wallet encrypted and as string in storage. * * @param password - The password to encrypt the wallet * @param keyName - (optional) The key used for the storage position, defaults to `"portkey-sdk_wallet"`. * @returns Will return boolean value true if saved properly */ save(password: string, keyName?: string): Promise; /** * Loads a wallet from storage and decrypts it. * * @param password - The password to decrypt the wallet. * @param keyName - (optional)The key used for storage position, defaults to `portkey-sdk_wallet"` * @returns Returns the wallet object */ load(password: string, keyName?: string): Promise; } //# sourceMappingURL=wallet.d.ts.map