import { Cause } from "@effect/core/io/Cause/definition"; import { Effect } from "@effect/core/io/Effect/definition"; /** * Returns an effect with its full cause of failure mapped using the specified * function. This can be used to transform errors while preserving the * original structure of `Cause`. * * See `absorb`, `sandbox`, `catchAllCause` for other functions for dealing * with defects. * @tsplus static effect/core/io/Effect.Aspects mapErrorCause * @tsplus pipeable effect/core/io/Effect mapErrorCause * @tsplus location "@effect/core/io/Effect/operations/mapErrorCause" */ export declare function mapErrorCause(f: (cause: Cause) => Cause): (self: import("../definition").Effect) => import("../definition").Effect; //# sourceMappingURL=mapErrorCause.d.ts.map