import { Stream } from "@effect/core/stream/Stream/definition";
/**
 * Transforms the errors emitted by this stream using `f`.
 * @tsplus fluent ets/Stream mapError
 * @tsplus location "@effect/core/stream/Stream/operations/mapError"
 */
export declare function mapError_<R, E, E2, A>(self: Stream<R, E, A>, f: (e: E) => E2, __tsplusTrace?: string): Stream<R, E2, A>;
/**
 * Transforms the errors emitted by this stream using `f`.
 * @tsplus static ets/Stream/Aspects mapError
 * @tsplus pipeable ets/Stream mapError
 * @tsplus location "@effect/core/stream/Stream/operations/mapError"
 */
export declare const mapError: <E, E2>(f: (e: E) => E2, __tsplusTrace?: string) => <R, A>(self: import("../definition").Stream<R, E, A>) => import("../definition").Stream<R, E2, A>;
//# sourceMappingURL=mapError.d.ts.map