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 fluent ets/Effect mapError
 * @tsplus location "@effect/core/io/Effect/operations/mapError"
 */
export declare function mapError_<R, E, A, E2>(self: Effect<R, E, A>, f: (e: E) => E2, __tsplusTrace?: string): Effect<R, E2, A>;
/**
 * 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 ets/Effect/Aspects mapError
 * @tsplus pipeable ets/Effect mapError
 * @tsplus location "@effect/core/io/Effect/operations/mapError"
 */
export declare const mapError: <E, E2>(f: (e: E) => E2, __tsplusTrace?: string) => <R, A>(self: import("../definition").Effect<R, E, A>) => import("../definition").Effect<R, E2, A>;
//# sourceMappingURL=mapError.d.ts.map