import Queue from "./Queue.js"; export default class AVDecoder { private readonly frames; readonly ready: Promise; private readonly decoder; get state(): CodecState; constructor(frames: Queue<{ audio?: any; video?: any; }>, { type, config }: { type: "audio"; config: AudioDecoderConfig; } | { type: "video"; config: VideoDecoderConfig; }); decode(chunk: EncodedAudioChunk | EncodedVideoChunk): void; flush(): Promise; close(): void; } //# sourceMappingURL=AVDecoder.d.ts.map