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