import { Channel } from "@effect/core/stream/Channel/definition/base";
import { LazyArg } from "@tsplus/stdlib/data/Function";
/**
 * @tsplus fluent ets/Channel pipeToOrFail
 * @tsplus location "@effect/core/stream/Channel/operations/pipeToOrFail"
 */
export declare function pipeToOrFail_<Env, Env2, InErr, InElem, InDone, OutErr, OutElem, OutDone, OutErr2, OutElem2, OutDone2>(self: Channel<Env, InErr, InElem, InDone, OutErr, OutElem, OutDone>, that: LazyArg<Channel<Env2, never, OutElem, OutDone, OutErr2, OutElem2, OutDone2>>): Channel<Env | Env2, InErr, InElem, InDone, OutErr2, OutElem2, OutDone2>;
/**
 * @tsplus static ets/Channel/Aspects pipeToOrFail
 * @tsplus pipeable ets/Channel pipeToOrFail
 * @tsplus location "@effect/core/stream/Channel/operations/pipeToOrFail"
 */
export declare const pipeToOrFail: <Env2, OutElem, OutDone, OutErr2, OutElem2, OutDone2>(that: import("@tsplus/stdlib/data/Function").LazyArg<import("../definition").Channel<Env2, never, OutElem, OutDone, OutErr2, OutElem2, OutDone2>>) => <Env_1, InErr, InElem, InDone, OutErr>(self: import("../definition").Channel<Env_1, InErr, InElem, InDone, OutErr, OutElem, OutDone>) => import("../definition").Channel<Env_1 | Env2, InErr, InElem, InDone, OutErr2, OutElem2, OutDone2>;
//# sourceMappingURL=pipeToOrFail.d.ts.map