import { type OggAudio } from './ogg.js'; import { VirtualFileSystem } from './vfs.js'; export type DecodedAudio = OggAudio; export declare class AudioRegistryError extends Error { constructor(message: string); } export interface AudioRegistryOptions { readonly cacheSize?: number; readonly workerPath?: string; } export declare class AudioRegistry { private readonly vfs; private readonly cache; private readonly refCounts; private readonly worker?; private nextRequestId; constructor(vfs: VirtualFileSystem, options?: AudioRegistryOptions); get size(): number; get capacity(): number; load(path: string): Promise; release(path: string): void; clearAll(): void; set capacity(value: number); private decodeByExtension; private decodeWavInWorker; } //# sourceMappingURL=audio.d.ts.map