import { STM } from "@effect/core/stm/STM/definition/base";
/**
 * Maps from one error type to another.
 * @tsplus fluent ets/STM mapError
 * @tsplus location "@effect/core/stm/STM/operations/mapError"
 */
export declare function mapError_<R, E, A, E1>(self: STM<R, E, A>, f: (a: E) => E1): STM<R, E1, A>;
/**
 * Maps from one error type to another.
 * @tsplus static ets/STM/Aspects mapError
 * @tsplus pipeable ets/STM mapError
 * @tsplus location "@effect/core/stm/STM/operations/mapError"
 */
export declare const mapError: <E, E1>(f: (a: E) => E1) => <R, A>(self: import("../definition").STM<R, E, A>) => import("../definition").STM<R, E1, A>;
//# sourceMappingURL=mapError.d.ts.map