import { FiberRef } from "@effect/core/io/FiberRef/definition";
import { Maybe } from "@tsplus/stdlib/data/Maybe/definition";
import { Effect } from "@effect/core/io/Effect/definition";
/**
 * Atomically modifies the `FiberRef` with the specified partial function.
 * If the function is undefined on the current value it returns the old
 * value without changing it.
 * @tsplus fluent ets/FiberRef updateSomeAndGet
 * @tsplus location "@effect/core/io/FiberRef/operations/updateSomeAndGet"
 */
export declare function updateSomeAndGet_<A, P>(self: FiberRef<A, P>, pf: (a: A) => Maybe<A>, __tsplusTrace?: string): Effect<never, never, A>;
/**
 * Atomically modifies the `FiberRef` with the specified partial function.
 * If the function is undefined on the current value it returns the old
 * value without changing it.
 * @tsplus static ets/FiberRef/Aspects updateSomeAndGet
 * @tsplus pipeable ets/FiberRef updateSomeAndGet
 * @tsplus location "@effect/core/io/FiberRef/operations/updateSomeAndGet"
 */
export declare const updateSomeAndGet: <A>(pf: (a: A) => import("@tsplus/stdlib/data/Maybe").Maybe<A>, __tsplusTrace?: string) => <P>(self: import("../definition").FiberRef<A, P>) => import("../../Effect").Effect<never, never, A>;
//# sourceMappingURL=updateSomeAndGet.d.ts.map