/** * SoundPool.ts * * Pre-registered sound bank with instance pooling. * Provides named sound references for the AudioEngine. */ export interface SoundDefinition { id: string; name: string; duration: number; category: string; volume: number; loop: boolean; } export declare class SoundPool { private sounds; /** * Register a sound definition. */ register(sound: SoundDefinition): void; /** * Register multiple sounds. */ registerAll(sounds: SoundDefinition[]): void; /** * Get a sound definition by ID. */ get(id: string): SoundDefinition | undefined; /** * Check if a sound is registered. */ has(id: string): boolean; /** * Get all sounds in a category. */ getByCategory(category: string): SoundDefinition[]; /** * Get a random sound from a category (for variation). */ getRandomFromCategory(category: string): SoundDefinition | undefined; /** * Get count of registered sounds. */ get count(): number; /** * List all registered sound IDs. */ listIds(): string[]; } //# sourceMappingURL=SoundPool.d.ts.map