/// <reference types="node" />
import { TransformOpt } from '../stream.model';
/**
 * Wrapper around stream.pipeline() that will collect all results as array and emit it with Promise in the end.
 * Will throw on error.
 */
export declare function pipelineToArray<OUT = any>(streams: (NodeJS.ReadableStream | NodeJS.WritableStream)[], opt?: TransformOpt): Promise<OUT[]>;
