///
import { BufferLike } from '../interfaces';
import { Readable, ReadableOptions } from 'stream';
export declare class IterableReadable extends Readable {
private _pulling;
private _objectMode;
private _iterator;
constructor(source: Iterable, options?: ReadableOptions);
_read(size: number): void;
_destroy(err: Error | null, cb: (err: Error | null) => void): void;
_pull(it: Iterator, size: number): boolean;
}
export declare function toNodeStream(source: Iterable): IterableReadable;
export declare function toNodeStream(source: Iterable, options: ReadableOptions & {
objectMode: true;
}): IterableReadable;
export declare function toNodeStream(source: Iterable, options: ReadableOptions & {
objectMode: false;
}): IterableReadable;