import { Channel } from "@effect/core/stream/Channel/definition/base";
/**
 * @tsplus fluent ets/Channel orDieWith
 * @tsplus location "@effect/core/stream/Channel/operations/orDieWith"
 */
export declare function orDieWith_<Env, InErr, InElem, InDone, OutErr, OutElem, OutDone, E>(self: Channel<Env, InErr, InElem, InDone, OutErr, OutElem, OutDone>, f: (e: OutErr) => unknown): Channel<Env, InErr, InElem, InDone, never, OutElem, OutDone>;
/**
 * @tsplus static ets/Channel/Aspects orDieWith
 * @tsplus pipeable ets/Channel orDieWith
 * @tsplus location "@effect/core/stream/Channel/operations/orDieWith"
 */
export declare const orDieWith: <OutErr>(f: (e: OutErr) => unknown) => <Env_1, InErr, InElem, InDone, OutElem, OutDone, E>(self: import("../definition").Channel<Env_1, InErr, InElem, InDone, OutErr, OutElem, OutDone>) => import("../definition").Channel<Env_1, InErr, InElem, InDone, never, OutElem, OutDone>;
//# sourceMappingURL=orDieWith.d.ts.map