import { Channel } from "@effect/core/stream/Channel/definition/base";
import { LazyArg } from "@tsplus/stdlib/data/Function";
/**
 * Returns a new channel that will perform the operations of this one, until
 * failure, and then it will switch over to the operations of the specified
 * fallback channel.
 * @tsplus operator ets/Channel |
 * @tsplus fluent ets/Channel orElse
 * @tsplus location "@effect/core/stream/Channel/operations/orElse"
 */
export declare function orElse_<Env, Env1, InErr, InErr1, InElem, InElem1, InDone, InDone1, OutErr, OutErr1, OutElem, OutElem1, OutDone, OutDone1>(self: Channel<Env, InErr, InElem, InDone, OutErr, OutElem, OutDone>, that: LazyArg<Channel<Env1, InErr1, InElem1, InDone1, OutErr1, OutElem1, OutDone1>>): Channel<Env | Env1, InErr & InErr1, InElem & InElem1, InDone & InDone1, OutErr1, OutElem | OutElem1, OutDone | OutDone1>;
/**
 * Returns a new channel that will perform the operations of this one, until
 * failure, and then it will switch over to the operations of the specified
 * fallback channel.
 * @tsplus static ets/Channel/Aspects orElse
 * @tsplus pipeable ets/Channel orElse
 * @tsplus location "@effect/core/stream/Channel/operations/orElse"
 */
export declare const orElse: <Env1, InErr1, InElem1, InDone1, OutErr1, OutElem1, OutDone1>(that: import("@tsplus/stdlib/data/Function").LazyArg<import("../definition").Channel<Env1, InErr1, InElem1, InDone1, OutErr1, OutElem1, OutDone1>>) => <Env_1, InErr, InElem, InDone, OutErr, OutElem, OutDone>(self: import("../definition").Channel<Env_1, InErr, InElem, InDone, OutErr, OutElem, OutDone>) => import("../definition").Channel<Env_1 | Env1, InErr & InErr1, InElem & InElem1, InDone & InDone1, OutErr1, OutElem | OutElem1, OutDone | OutDone1>;
//# sourceMappingURL=orElse.d.ts.map