import { KeyStore, StoredKey } from '@nuwa-ai/identity-kit'; /** * IndexedDB implementation of KeyStore * Supports storing CryptoKey objects and direct signing */ export declare class IndexedDBKeyStore implements KeyStore { private readonly dbName; private readonly storeName; private db; constructor(options?: { dbName?: string; storeName?: string; }); /** * Initialize the database connection */ private initDB; /** * List all key IDs stored in this KeyStore */ listKeyIds(): Promise; /** * Load a key by ID, or all keys if no ID is provided */ load(keyId?: string): Promise; /** * Save a key to storage */ save(key: StoredKey): Promise; /** * Clear a key from storage, or all keys if no ID is provided */ clear(keyId?: string): Promise; }