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 defects of the
 * effects that it is applied to.
 * @tsplus getter ets/Metrics/Metric trackDefect
 * @tsplus location "@effect/core/io/Metrics/operations/trackDefect"
 */
export declare function trackDefect<Type, Out>(self: Metric<Type, unknown, Out>): <R, E, A>(effect: Effect<R, E, A>, __tsplusTrace?: string) => Effect<R, E, A>;
//# sourceMappingURL=trackDefect.d.ts.map