import { Filter } from './filters/Filter'; import { IMediaContext } from './interfaces/IMediaContext'; import { IMediaInstance } from './interfaces/IMediaInstance'; import { CompleteCallback, Options, PlayOptions, Sound } from './Sound'; type SoundSourceMap = Record; type SoundMap = Record; /** * Manages the playback of sounds. This is the main class for PixiJS Sound. If you're * using the browser-based bundled this is `PIXI.sound`. Otherwise, you can do this: * @example * import { sound } from '@pixi/sound'; * * // sound is an instance of SoundLibrary * sound.add('my-sound', 'path/to/file.mp3'); * sound.play('my-sound'); */ declare class SoundLibrary { /** * For legacy approach for Audio. Instead of using WebAudio API * for playback of sounds, it will use HTML5 `