import { Metric } from "@effect/core/io/Metrics/definition";
import { Effect } from "@effect/core/io/Effect/definition";
/**
 * Returns an aspect that will update this metric with the failure value of
 * the effects that it is applied to.
 * @tsplus getter ets/Metrics/Metric trackError
 * @tsplus location "@effect/core/io/Metrics/operations/trackError"
 */
export declare function trackError<Type, In, Out>(self: Metric<Type, In, Out>): <R, E extends In, A>(effect: import("../../Effect").Effect<R, E, A>, __tsplusTrace?: string) => import("../../Effect").Effect<R, E, A>;
//# sourceMappingURL=trackError.d.ts.map