/// import { ReadableOptions } from 'stream'; import { ReadableTyped } from '../stream.model'; /** * Convenience function to create a Readable that can be pushed into (similar to RxJS Subject). * Push `null` to it to complete (similar to RxJS `.complete()`). * * Difference from Readable.from() is that this readable is not "finished" yet and allows pushing more to it. */ export declare function readableCreate(items?: Iterable, opt?: ReadableOptions): ReadableTyped; /** * Convenience type-safe wrapper around Readable.from() that infers the Type of input. */ export declare function readableFrom(items: Iterable | AsyncIterable, opt?: ReadableOptions): ReadableTyped;