/** * IndexedDB passkey storage adapter. * * Recommended for web apps: larger limits than localStorage, an async API that * doesn't block the main thread, and native `Uint8Array` support. */ import type { StorageAdapter, StoredPasskey } from "../types.js"; export declare class IndexedDBStorage implements StorageAdapter { private dbName; private dbPromise; constructor(dbName?: string); private getDB; private withStore; save(passkey: StoredPasskey): Promise; get(keyId: string): Promise; getByContract(contractId: string): Promise; getAll(): Promise; delete(keyId: string): Promise; update(keyId: string, updates: Partial>): Promise; clear(): Promise; /** Close the database connection. */ close(): Promise; /** Delete the entire database. */ static deleteDatabase(dbName?: string): Promise; } //# sourceMappingURL=indexeddb.d.ts.map