import { AsyncStream } from '../uri'; /** * Takes two {@link AsyncStream}s and returns a {@link AsyncStream} of * corresponding pairs as {@link AsyncStream}s yielding single 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. * * @see {@link zipArray} * * @__PURE__ */ export declare function zip(fb: AsyncStream): (fa: AsyncStream) => AsyncStream>; /** * Takes two {@link AsyncStream}s and returns a {@link AsyncStream} of * corresponding pairs as {@link AsyncStream}s yielding single 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. * * @see {@link zipArray} * * @__PURE__ */ export declare function zip(fa: AsyncStream, fb: AsyncStream): AsyncStream>; /** * Reverse of {@link zip}. * * Takes an {@link AsyncStream} of pairs and returns another {@link AsyncStream} * instance yielding from both {@link AsyncStream}s in-order. * * @export * @template A The value type of the first stream. * @template B The value type of the second stream. * @param {(AsyncStream | AsyncStream>)} mma The input async * stream of async streams. * * @return {(AsyncStream)} A async stream of elements from both streams. * * @__PURE__ */ export declare function unzip(mma: AsyncStream | AsyncStream>): AsyncStream;