import { Duration } from "@tsplus/stdlib/data/Duration"; 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 duration that the * effect takes to execute. To call this method, you must supply a function * that can convert the `Duration` to the input type of this metric. * @tsplus static effect/core/io/Metrics/Metric.Aspects trackDurationWith * @tsplus pipeable effect/core/io/Metrics/Metric trackDurationWith * @tsplus location "@effect/core/io/Metrics/operations/trackDurationWith" */ export declare function trackDurationWith(f: (duration: Duration) => In): (self: import("../definition").Metric) => (effect: import("../../Effect").Effect) => import("../../Effect").Effect; //# sourceMappingURL=trackDurationWith.d.ts.map