import { Layer } from "@effect/core/io/Layer/definition";
/**
 * Returns a layer with its error channel mapped using the specified function.
 * @tsplus fluent ets/Layer mapError
 * @tsplus location "@effect/core/io/Layer/operations/mapError"
 */
export declare function mapError_<R, E, E1, A>(self: Layer<R, E, A>, f: (e: E) => E1): Layer<R, E1, A>;
/**
 * Returns a layer with its error channel mapped using the specified function.
 * @tsplus static ets/Layer/Aspects mapError
 * @tsplus pipeable ets/Layer mapError
 * @tsplus location "@effect/core/io/Layer/operations/mapError"
 */
export declare const mapError: <E, E1>(f: (e: E) => E1) => <R, A>(self: import("../definition").Layer<R, E, A>) => import("../definition").Layer<R, E1, A>;
//# sourceMappingURL=mapError.d.ts.map