/** * Galaxy Sound Effects * * Procedural sci-fi sound effects for the Galaxy visualization using jsfxr. * All sounds are generated on-the-fly using the Web Audio API. * * Sound Categories: * - Navigation: hover, select, deselect, zoom * - Data: path activation, data flow pulse * - Security: alert, warning, critical * - Ambient: background hum, star twinkle */ export type SoundType = 'hover' | 'select' | 'deselect' | 'zoom' | 'pathActivate' | 'dataFlow' | 'alertLow' | 'alertMedium' | 'alertHigh' | 'alertCritical' | 'warp' | 'scan' | 'powerUp' | 'powerDown' | 'click' | 'blip'; export interface SoundConfig { enabled: boolean; volume: number; muted: boolean; } /** * Galaxy Sound Engine * * Manages sound effect playback for the Galaxy visualization. * Uses jsfxr for procedural sound generation. */ export declare class GalaxySoundEngine { private config; private audioCache; private sfxr; private initialized; private initPromise; constructor(config?: Partial); /** * Initialize the sound engine (lazy load jsfxr) */ initialize(): Promise; private doInitialize; /** * Play a sound effect */ play(type: SoundType): Promise; /** * Play a sound with pitch variation (for variety) */ playWithVariation(type: SoundType, pitchVariation?: number): Promise; /** * Play alert sound based on severity */ playAlert(severity: 'low' | 'medium' | 'high' | 'critical'): Promise; /** * Update configuration */ setConfig(config: Partial): void; /** * Get current configuration */ getConfig(): SoundConfig; /** * Toggle mute */ toggleMute(): boolean; /** * Set volume (0-1) */ setVolume(volume: number): void; /** * Enable/disable sounds */ setEnabled(enabled: boolean): void; } /** * Get the global sound engine instance */ export declare function getGalaxySoundEngine(): GalaxySoundEngine; /** * Create a new sound engine instance (for testing or custom configs) */ export declare function createGalaxySoundEngine(config?: Partial): GalaxySoundEngine; //# sourceMappingURL=sound-effects.d.ts.map