/** * Normalize a single value, sync iterable, or async iterable into an async iterable. * * NOTE: `string` and `Uint8Array` are treated as single scalar values even though * both implement `Symbol.iterator`. External table data is `string | Uint8Array | * AsyncIterable`, so yielding them whole is the correct contract. */ export declare function toAsyncIterable(input: T | Iterable | AsyncIterable): AsyncIterable; /** Lazily map an async iterable. Forwards early `return()` to the source. */ export declare function mapAsync(input: AsyncIterable, fn: (item: T) => U): AsyncGenerator; /** * Push an item to the front of an async iterator. * Useful when we peek the first item, do some operation on it, and then * iterate over the entire collection including that first item. */ export declare function prepend(first: T, rest: AsyncIterator | Iterator): AsyncGenerator; /** * Iterate a ReadableStreamDefaultReader as chunks. * Does NOT cancel/release on exit — callers own the reader lifecycle. */ export declare function readChunks(reader: ReadableStreamDefaultReader): AsyncGenerator; //# sourceMappingURL=iter.d.ts.map