import { FiberRef } from "@effect/core/io/FiberRef/definition";
import { Effect } from "@effect/core/io/Effect/definition";
/**
 * Atomically modifies the `FiberRef` with the specified function and
 * returns the result.
 * @tsplus fluent ets/FiberRef updateAndGet
 * @tsplus location "@effect/core/io/FiberRef/operations/updateAndGet"
 */
export declare function updateAndGet_<A, P>(self: FiberRef<A, P>, f: (a: A) => A, __tsplusTrace?: string): Effect<never, never, A>;
/**
 * Atomically modifies the `FiberRef` with the specified function and
 * returns the result.
 * @tsplus static ets/FiberRef/Aspects updateAndGet
 * @tsplus pipeable ets/FiberRef updateAndGet
 * @tsplus location "@effect/core/io/FiberRef/operations/updateAndGet"
 */
export declare const updateAndGet: <A>(f: (a: A) => A, __tsplusTrace?: string) => <P>(self: import("../definition").FiberRef<A, P>) => import("../../Effect").Effect<never, never, A>;
//# sourceMappingURL=updateAndGet.d.ts.map