1 |
|
2 | import { ReadableOptions } from 'stream';
|
3 | import { AsyncIterableReadable } from '../../asynciterable/tonodestream';
|
4 | import { BufferLike, UnaryFunction } from '../../interfaces';
|
5 | export declare function toNodeStream<TSource>(): UnaryFunction<AsyncIterable<TSource>, AsyncIterableReadable<TSource>>;
|
6 | export declare function toNodeStream<TSource>(options: ReadableOptions & {
|
7 | objectMode: true;
|
8 | }): UnaryFunction<AsyncIterable<TSource>, AsyncIterableReadable<TSource>>;
|
9 | export declare function toNodeStream<TSource extends BufferLike>(options: ReadableOptions & {
|
10 | objectMode: false;
|
11 | }): UnaryFunction<AsyncIterable<TSource>, AsyncIterableReadable<TSource>>;
|