import type { asyncIterator } from "../core/asyncIterator.js"; type AsyncIteratorOptions = Parameters[1]; declare global { // biome-ignore lint/suspicious/noExplicitAny: to be compatible with lib.dom.d.ts interface ReadableStream { [Symbol.asyncIterator]( options?: AsyncIteratorOptions, ): ReadableStreamAsyncIterator; values(options?: AsyncIteratorOptions): ReadableStreamAsyncIterator; } }