import type { Readable, ReadableOptions } from './readable.js'; import { Buffer } from 'buffer'; /** * Backs `Readable.from()`. The constructor is passed in rather than imported to keep * this module out of a cycle with `readable.js`. */ export declare function from(Readable: new (options?: ReadableOptions) => Readable, iterable: string | Buffer | Iterable | AsyncIterable, opts?: ReadableOptions): Readable;