import { Effect } from "@effect/core/io/Effect/definition"; /** * Returns an effect with its error channel mapped using the specified * function. This can be used to lift a "smaller" error into a "larger" error. * @tsplus static effect/core/io/Effect.Aspects mapError * @tsplus pipeable effect/core/io/Effect mapError * @tsplus location "@effect/core/io/Effect/operations/mapError" */ export declare function mapError(f: (e: E) => E2): (self: import("../definition").Effect) => import("../definition").Effect; //# sourceMappingURL=mapError.d.ts.map