/** * "Global" methods like {@link AudioManager.stop} do not support multi scene properly, so be careful */ export class AudioManager { constructor(preloadAudio?: boolean, engine?: import("@wonderlandengine/api").WonderlandEngine | null); _myEngine: import("@wonderlandengine/api").WonderlandEngine | null; _myPreloadAudio: boolean; _myAudioSetups: Map; _myAudioPlayersCreatedForPreload: any[]; createAudioPlayer(audioSetupID: any): AudioPlayer | null; getAudioSetup(id: any): any; addAudioSetup(id: any, audioSetup: any, preloadAudioOverride?: null): void; removeAudioSetup(id: any): void; /** * Actually changes the volume of Howler, which means it changes it even for a new scene if you switch it * and use a different audio manager */ setVolume(volume: any): void; /** * Actually mute Howler, which means it changes it even for a new scene if you switch it * and use a different audio manager */ setMute(mute: any): void; /** * Actually stops Howler, which means it stops every audio, even for a new scene if you switch it * and use a different audio manager */ stop(): void; /** * Actually unload all audio sources in Howler, which means it unloads them even for other scenes * * Use this with caution */ unloadAllAudioSources(): void; } import { AudioPlayer } from "./audio_player.js";