import type { AudioDecoder, AudioPlayer, DecodedAudio, GpuProbe, PcmAudio, Platform, StreamingAudioPlayer, StreamingPlayback } from "./platform.js"; /** Decodes encoded audio through the Web Audio API. */ export declare class BrowserAudioDecoder implements AudioDecoder { #private; decode(data: ArrayBuffer): Promise; } /** Plays mono PCM through the Web Audio API. */ export declare class BrowserAudioPlayer implements AudioPlayer { #private; play(audio: PcmAudio): Promise; /** Release the underlying `AudioContext`. */ dispose(): Promise; } /** Reports WebGPU availability by asking for an adapter. */ export declare class BrowserGpuProbe implements GpuProbe { isAvailable(): Promise; } /** Gapless PCM streaming through an AudioWorklet ring buffer. */ export declare class BrowserStreamingAudioPlayer implements StreamingAudioPlayer { open(sampleRate: number): Promise; } /** The default platform: everything backed by real browser APIs. */ export declare function createBrowserPlatform(): Platform; //# sourceMappingURL=browser-platform.d.ts.map