import type { AudioStreamMetadata } from "../../audio.js"; import type { AudioStreamDemuxer, AudioStreamDemuxOutput } from "../demuxer.js"; export interface IcyStreamDemuxerOptions { metadataInterval: number; metadataEncoding?: string; headers?: Readonly>; } export declare class IcyStreamDemuxer implements AudioStreamDemuxer { readonly initialMetadata: AudioStreamMetadata; private audioRemaining; private metadata; private metadataOffset; private fields; private readonly interval; private readonly decoder; private readonly headers; constructor(options: IcyStreamDemuxerOptions); push(chunk: Uint8Array): IterableIterator>; flush(): IterableIterator>; } export declare function createIcyStreamDemuxer(options: IcyStreamDemuxerOptions): AudioStreamDemuxer;