import { Effect } from "@effect/core/io/Effect/definition";
import { LazyArg } from "@tsplus/stdlib/data/Function";
import { Tuple } from "@tsplus/stdlib/data/Tuple/definition";
/**
 * Summarizes a effect by computing some value before and after execution, and
 * then combining the values to produce a summary, together with the result of
 * execution.
 * @tsplus fluent ets/Effect summarized
 * @tsplus location "@effect/core/io/Effect/operations/summarized"
 */
export declare function summarized_<R, E, A, R2, E2, B, C>(self: Effect<R, E, A>, summary: LazyArg<Effect<R2, E2, B>>, f: (start: B, end: B) => C, __tsplusTrace?: string): Effect<R | R2, E | E2, Tuple<[C, A]>>;
/**
 * Summarizes a effect by computing some value before and after execution, and
 * then combining the values to produce a summary, together with the result of
 * execution.
 * @tsplus static ets/Effect/Aspects summarized
 * @tsplus pipeable ets/Effect summarized
 * @tsplus location "@effect/core/io/Effect/operations/summarized"
 */
export declare const summarized: <R2, E2, B, C>(summary: import("@tsplus/stdlib/data/Function").LazyArg<import("../definition").Effect<R2, E2, B>>, f: (start: B, end: B) => C, __tsplusTrace?: string) => <R, E, A>(self: import("../definition").Effect<R, E, A>) => import("../definition").Effect<R | R2, E | E2, import("@tsplus/stdlib/data/Tuple").Tuple<[C, A]>>;
//# sourceMappingURL=summarized.d.ts.map