import type { VoiceEmbedding, VoiceStore } from "./types.js"; export interface IndexedDbVoiceStoreOptions { /** * Database name, so applications can isolate voices per user or profile. * * @defaultValue "voxshot" */ databaseName?: string; } /** * Voice store backed by IndexedDB, so cloned voices survive a page reload. * * Embedding vectors are stored as `Float32Array` values and go through the * structured clone algorithm untouched — no base64 round trip. */ export declare class IndexedDbVoiceStore implements VoiceStore { #private; constructor(options?: IndexedDbVoiceStoreOptions); /** Whether IndexedDB exists in this environment. */ static isSupported(): boolean; save(name: string, embedding: VoiceEmbedding): Promise; load(name: string): Promise; list(): Promise; delete(name: string): Promise; clear(): Promise; /** Close the underlying connection; the next call reopens it. */ close(): Promise; } //# sourceMappingURL=indexeddb-store.d.ts.map