///
import { ReadableOptions } from 'node:stream';
import { AbortableAsyncMapper } from '@naturalcycles/js-lib';
import { ReadableTyped } from '../stream.model';
/**
* Create Readable from Array.
* Supports a `mapper` function (async) that you can use to e.g create a timer-emitting-readable.
*
* For simple cases use Readable.from(...) (Node.js 12+)
*/
export declare function readableFromArray(items: IN[], mapper?: AbortableAsyncMapper, opt?: ReadableOptions): ReadableTyped;