import { Stream } from "@effect/core/stream/Stream/definition";
import { LazyArg } from "@tsplus/stdlib/data/Function";
import { Exit } from "@effect/core/io/Exit/definition";
import { TerminationStrategy } from "@effect/core/stream/Stream/TerminationStrategy";
/**
 * Merges this stream and the specified stream together to a common element
 * type with the specified mapping functions.
 *
 * New produced stream will terminate when both specified stream terminate if
 * no termination strategy is specified.
 * @tsplus fluent ets/Stream mergeWith
 * @tsplus location "@effect/core/stream/Stream/operations/mergeWith"
 */
export declare function mergeWith_<R, E, A, R2, E2, A2, A3>(self: Stream<R, E, A>, that: LazyArg<Stream<R2, E2, A2>>, left: (a: A) => A3, right: (a2: A2) => A3, strategy?: LazyArg<TerminationStrategy>, __tsplusTrace?: string): Stream<R | R2, E | E2, A3>;
/**
 * Merges this stream and the specified stream together to a common element
 * type with the specified mapping functions.
 *
 * New produced stream will terminate when both specified stream terminate if
 * no termination strategy is specified.
 * @tsplus static ets/Stream/Aspects mergeWith
 * @tsplus pipeable ets/Stream mergeWith
 * @tsplus location "@effect/core/stream/Stream/operations/mergeWith"
 */
export declare const mergeWith: <A, R2, E2, A2, A3>(that: import("@tsplus/stdlib/data/Function").LazyArg<import("../definition").Stream<R2, E2, A2>>, left: (a: A) => A3, right: (a2: A2) => A3, strategy?: LazyArg<TerminationStrategy>, __tsplusTrace?: string) => <R, E>(self: import("../definition").Stream<R, E, A>) => import("../definition").Stream<R | R2, E | E2, A3>;
//# sourceMappingURL=mergeWith.d.ts.map