import { TRef } from "@effect/core/stm/TRef/definition";
import { STM } from "@effect/core/stm/STM/definition/base";
/**
* Updates the value of the variable and returns the new value.
* @tsplus static effect/core/stm/TRef.Aspects updateAndGet
* @tsplus pipeable effect/core/stm/TRef updateAndGet
* @tsplus location "@effect/core/stm/TRef/operations/updateAndGet"
*/
export declare function updateAndGet(f: (a: A) => A): (self: TRef) => STM;
//# sourceMappingURL=updateAndGet.d.ts.map