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