import type { VirtualFileSystem } from '../assets/vfs.js'; import type { AudioBufferLike, AudioContextLike } from './context.js'; import { AudioContextController } from './context.js'; import { SoundRegistry } from './registry.js'; export interface SoundPrecacheOptions { vfs: Pick; registry: SoundRegistry; context: AudioContextController; decodeAudio?: (context: AudioContextLike, data: ArrayBuffer) => Promise; soundRoot?: string; } export interface SoundPrecacheReport { loaded: string[]; skipped: string[]; missing: string[]; errors: Record; } export declare class SoundPrecache { private readonly vfs; private readonly registry; private readonly contextController; private readonly decodeAudio; private readonly soundRoot; constructor(options: SoundPrecacheOptions); precache(paths: string[]): Promise; private normalize; } //# sourceMappingURL=precache.d.ts.map