import type { AssetLoadRequest, AssetLoader } from "./AssetLoader";
import type { LoadContext } from "./LoadContext";
export interface AudioDecodeContext {
    decodeAudioData(data: ArrayBuffer): Promise<AudioBuffer> | AudioBuffer;
}
export interface AudioAsset {
    readonly url: string;
    readonly buffer: AudioBuffer;
}
export declare class AudioLoader implements AssetLoader<AudioAsset> {
    readonly type = "audio";
    private readonly audioContext;
    constructor(audioContext: AudioDecodeContext);
    canLoad(request: AssetLoadRequest): boolean;
    load(request: AssetLoadRequest, context: LoadContext): Promise<AudioAsset>;
}
//# sourceMappingURL=AudioLoader.d.ts.map