import * as Tp from "../../../Collections/Immutable/Tuple";
import type { ExecutionStrategy } from "../../../Effect";
import * as S from "./core";
/**
 * Zips this stream with another point-wise, creating a new stream of pairs of elements
 * from both sides.
 *
 * The defaults `defaultLeft` and `defaultRight` will be used if the streams have different lengths
 * and one of the streams has ended before the other.
 */
export declare function zipAll_<R, R1, E, E1, A, A1>(self: S.Stream<R, E, A>, that: S.Stream<R1, E1, A1>, defaultLeft: A, defaultRight: A1): S.Stream<R & R1, E | E1, Tp.Tuple<[A, A1]>>;
/**
 * Zips this stream with another point-wise, creating a new stream of pairs of elements
 * from both sides.
 *
 * The defaults `defaultLeft` and `defaultRight` will be used if the streams have different lengths
 * and one of the streams has ended before the other.
 *
 * @ets_data_first zipAll_
 */
export declare function zipAll<R1, E1, A, A1>(that: S.Stream<R1, E1, A1>, defaultLeft: A, defaultRight: A1): <R, E>(self: S.Stream<R, E, A>) => S.Stream<R & R1, E1 | E, Tp.Tuple<[A, A1]>>;
/**
 * Zips this stream with another point-wise, and keeps only elements from the other stream.
 *
 * The provided default value will be used if this stream ends before the other one.
 */
export declare function zipAllLeft_<R, R1, E, E1, A, A1>(self: S.Stream<R, E, A>, that: S.Stream<R1, E1, A1>, default_: A): S.Stream<R & R1, E | E1, A>;
/**
 * Zips this stream with another point-wise, and keeps only elements from the other stream.
 *
 * The provided default value will be used if this stream ends before the other one.
 *
 * @ets_data_first zipAllLeft_
 */
export declare function zipAllLeft<R1, E1, A, A1>(that: S.Stream<R1, E1, A1>, default_: A): <R, E>(self: S.Stream<R, E, A>) => S.Stream<R & R1, E1 | E, A>;
/**
 * Zips this stream with another point-wise, and keeps only elements from the other stream.
 *
 * The provided default value will be used if this stream ends before the other one.
 */
export declare function zipAllRight_<R, R1, E, E1, A, A1>(self: S.Stream<R, E, A>, that: S.Stream<R1, E1, A1>, default_: A1): S.Stream<R & R1, E | E1, A1>;
/**
 * Zips this stream with another point-wise, and keeps only elements from the other stream.
 *
 * The provided default value will be used if this stream ends before the other one.
 *
 * @ets_data_first zipAllRight_
 */
export declare function zipAllRight<R1, E1, A1>(that: S.Stream<R1, E1, A1>, default_: A1): <R, E, A>(self: S.Stream<R, E, A>) => S.Stream<R & R1, E1 | E, A1>;
/**
 * Zips this stream with another point-wise. The provided functions will be used to create elements
 * for the composed stream.
 *
 * The functions `left` and `right` will be used if the streams have different lengths
 * and one of the streams has ended before the other.
 */
export declare function zipAllWith_<R, R1, E, E1, A, A1, A2, A3, A4>(self: S.Stream<R, E, A>, that: S.Stream<R1, E1, A1>, left: (a: A) => A2, right: (a1: A1) => A3, both: (a: A, a1: A1) => A4): S.Stream<R & R1, E | E1, A2 | A3 | A4>;
/**
 * Zips this stream with another point-wise. The provided functions will be used to create elements
 * for the composed stream.
 *
 * The functions `left` and `right` will be used if the streams have different lengths
 * and one of the streams has ended before the other.
 *
 * @ets_data_first zipAllWith_
 */
export declare function zipAllWith<R1, E1, A, A1, A2, A3, A4>(that: S.Stream<R1, E1, A1>, left: (a: A) => A2, right: (a1: A1) => A3, both: (a: A, a1: A1) => A4): <R, E>(self: S.Stream<R, E, A>) => S.Stream<R & R1, E1 | E, A2 | A3 | A4>;
/**
 * Zips this stream with another point-wise. The provided functions will be used to create elements
 * for the composed stream.
 *
 * The functions `left` and `right` will be used if the streams have different lengths
 * and one of the streams has ended before the other.
 *
 * The execution strategy `exec` will be used to determine whether to pull
 * from the streams sequentially or in parallel.
 */
export declare function zipAllWithExec_<R, R1, E, E1, A, A1, A2, A3, A4>(self: S.Stream<R, E, A>, that: S.Stream<R1, E1, A1>, exec: ExecutionStrategy, left: (a: A) => A2, right: (a: A1) => A3, both: (a: A, a1: A1) => A4): S.Stream<R & R1, E | E1, A2 | A3 | A4>;
/**
 * Zips this stream with another point-wise. The provided functions will be used to create elements
 * for the composed stream.
 *
 * The functions `left` and `right` will be used if the streams have different lengths
 * and one of the streams has ended before the other.
 *
 * The execution strategy `exec` will be used to determine whether to pull
 * from the streams sequentially or in parallel.
 *
 * @ets_data_first zipAllWithExec_
 */
export declare function zipAllWithExec<R1, E1, A, A1, A2, A3, A4>(that: S.Stream<R1, E1, A1>, exec: ExecutionStrategy, left: (a: A) => A2, right: (a: A1) => A3, both: (a: A, a1: A1) => A4): <R, E>(self: S.Stream<R, E, A>) => S.Stream<R & R1, E1 | E, A2 | A3 | A4>;
//# sourceMappingURL=zipAll.d.ts.map