import type { DependencyManager } from '../plugins'; import type { WalletConfig, WalletConfigRekey, WalletExportImportConfig } from '../types'; import { AgentConfig } from '../agent/AgentConfig'; import { StorageUpdateService } from '../storage'; import { Wallet } from './Wallet'; export declare class WalletModule { private wallet; private storageUpdateService; private logger; private _walletConfig?; constructor(wallet: Wallet, storageUpdateService: StorageUpdateService, agentConfig: AgentConfig); get isInitialized(): boolean; get isProvisioned(): boolean; get walletConfig(): WalletConfig | undefined; initialize(walletConfig: WalletConfig): Promise; createAndOpen(walletConfig: WalletConfig): Promise; create(walletConfig: WalletConfig): Promise; open(walletConfig: WalletConfig): Promise; close(): Promise; rotateKey(walletConfig: WalletConfigRekey): Promise; delete(): Promise; export(exportConfig: WalletExportImportConfig): Promise; import(walletConfig: WalletConfig, importConfig: WalletExportImportConfig): Promise; /** * Registers the dependencies of the wallet module on the injection dependencyManager. */ static register(dependencyManager: DependencyManager): void; }