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