import { FiberRef } from "@effect/core/io/FiberRef/definition";
import { Tuple } from "@tsplus/stdlib/data/Tuple/definition";
import { Effect } from "@effect/core/io/Effect/definition";
/**
 * Atomically modifies the `FiberRef` with the specified function, which
 * computes a return value for the modification. This is a more powerful
 * version of `update`.
 * @tsplus fluent ets/FiberRef modify
 * @tsplus location "@effect/core/io/FiberRef/operations/modify"
 */
export declare function modify_<A, B, P>(self: FiberRef<A, P>, f: (a: A) => Tuple<[B, A]>, __tsplusTrace?: string): Effect<never, never, B>;
/**
 * Atomically modifies the `FiberRef` with the specified function, which
 * computes a return value for the modification. This is a more powerful
 * version of `update`.
 * @tsplus static ets/FiberRef/Aspects modify
 * @tsplus pipeable ets/FiberRef modify
 * @tsplus location "@effect/core/io/FiberRef/operations/modify"
 */
export declare const modify: <A, B>(f: (a: A) => import("@tsplus/stdlib/data/Tuple").Tuple<[B, A]>, __tsplusTrace?: string) => <P>(self: import("../definition").FiberRef<A, P>) => import("../../Effect").Effect<never, never, B>;
//# sourceMappingURL=modify.d.ts.map