import { AsyncStream } from '../uri'; /** * Takes two {@link AsyncStream}s and returns a {@link AsyncStream} of * corresponding pairs as a tuple of both elements. * * @export * @template B The value type. * @param {AsyncStream} fb The input async stream. * @return {(fa: AsyncStream) => AsyncStream} A * function that takes another async stream to zip. * * @__PURE__ */ export declare function zipArray(fb: AsyncStream): (fa: AsyncStream) => AsyncStream; /** * Takes two {@link AsyncStream}s and returns a {@link AsyncStream} of * corresponding pairs as a tuple of both elements. * * @export * @template A The value of the first stream type. * @template B The value of the second stream type. * @param {AsyncStream} fa The first async stream. * @param {AsyncStream} fb The second async stream. * @return {AsyncStream} The output async stream. * * @__PURE__ */ export declare function zipArray(fa: AsyncStream, fb: AsyncStream): AsyncStream; /** * Reverse of {@link zipArray}. * * Takes an {@link AsyncStream} of pairs and returns a tuple of * {@link AsyncStream}s. * * @export * @template A The value type of the first stream. * @template B The value type of the second stream. * @param {(AsyncStream)} mma The input async stream of * async streams. * * @return {[ AsyncStream, AsyncStream ]} A tuple of elements from both * async streams. * * @__PURE__ */ export declare function unzipArray(mma: AsyncStream): [AsyncStream, AsyncStream];