export declare type ReadableBYOBStreamOptions = QueuingStrategy & { type: 'bytes'; }; export declare type ReadableByteStreamOptions = QueuingStrategy & { type: 'bytes'; autoAllocateChunkSize?: number; }; export declare function toDOMStream(source: AsyncIterable, strategy?: QueuingStrategy): ReadableStream; export declare function toDOMStream(source: AsyncIterable, options: ReadableBYOBStreamOptions): ReadableStream; export declare function toDOMStream(source: AsyncIterable, options: ReadableByteStreamOptions): ReadableStream; /** * @ignore */ export declare function toDOMStreamProto(this: AsyncIterable, strategy?: QueuingStrategy): ReadableStream; export declare function toDOMStreamProto(this: AsyncIterable, options: ReadableBYOBStreamOptions): ReadableStream; export declare function toDOMStreamProto(this: AsyncIterable, options: ReadableByteStreamOptions): ReadableStream; declare module '../asynciterable/asynciterablex' { interface AsyncIterableX { toDOMStream: typeof toDOMStreamProto; tee(): [ReadableStream, ReadableStream]; pipeTo(writable: WritableStream, options?: PipeOptions): Promise; pipeThrough>(duplex: { writable: WritableStream; readable: R; }, options?: PipeOptions): ReadableStream; } }