import { Channel } from "@effect/core/stream/Channel/definition/base";
import { Cause } from "@effect/core/io/Cause/definition";
/**
 * A more powerful version of `mapError` which also surfaces the `Cause`
 * of the channel failure.
 * @tsplus fluent ets/Channel mapErrorCause
 * @tsplus location "@effect/core/stream/Channel/operations/mapErrorCause"
 */
export declare function mapErrorCause_<Env, InErr, InElem, InDone, OutErr, OutErr2, OutElem, OutDone>(self: Channel<Env, InErr, InElem, InDone, OutErr, OutElem, OutDone>, f: (cause: Cause<OutErr>) => Cause<OutErr2>): Channel<Env, InErr, InElem, InDone, OutErr2, OutElem, OutDone>;
/**
 * A more powerful version of `mapError` which also surfaces the `Cause`
 * of the channel failure.
 * @tsplus static ets/Channel/Aspects mapErrorCause
 * @tsplus pipeable ets/Channel mapErrorCause
 * @tsplus location "@effect/core/stream/Channel/operations/mapErrorCause"
 */
export declare const mapErrorCause: <OutErr, OutErr2>(f: (cause: import("../../../io/Cause").Cause<OutErr>) => import("../../../io/Cause").Cause<OutErr2>) => <Env_1, InErr, InElem, InDone, OutElem, OutDone>(self: import("../definition").Channel<Env_1, InErr, InElem, InDone, OutErr, OutElem, OutDone>) => import("../definition").Channel<Env_1, InErr, InElem, InDone, OutErr2, OutElem, OutDone>;
//# sourceMappingURL=mapErrorCause.d.ts.map