import { Effect } from "@effect/core/io/Effect/definition";
import { LazyArg } from "@tsplus/stdlib/data/Function";
import { Tuple } from "@tsplus/stdlib/data/Tuple/definition";
import { Duration } from "@tsplus/stdlib/data/Duration";
/**
 * A more powerful variation of `timed` that allows specifying the clock.
 * @tsplus fluent ets/Effect timedWith
 * @tsplus location "@effect/core/io/Effect/operations/timedWith"
 */
export declare function timedWith_<R, E, A, R1, E1>(self: Effect<R, E, A>, milliseconds: LazyArg<Effect<R1, E1, number>>, __tsplusTrace?: string): Effect<R | R1, E | E1, Tuple<[Duration, A]>>;
/**
 * A more powerful variation of `timed` that allows specifying the clock.
 * @tsplus static ets/Effect/Aspects timedWith
 * @tsplus pipeable ets/Effect timedWith
 * @tsplus location "@effect/core/io/Effect/operations/timedWith"
 */
export declare const timedWith: <R1, E1>(milliseconds: import("@tsplus/stdlib/data/Function").LazyArg<import("../definition").Effect<R1, E1, number>>, __tsplusTrace?: string) => <R, E, A>(self: import("../definition").Effect<R, E, A>) => import("../definition").Effect<R | R1, E | E1, import("@tsplus/stdlib/data/Tuple").Tuple<[import("@tsplus/stdlib/data/Duration").Duration, A]>>;
//# sourceMappingURL=timedWith.d.ts.map