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 old value. * @tsplus static effect/core/stm/TRef.Aspects getAndUpdate * @tsplus pipeable effect/core/stm/TRef getAndUpdate * @tsplus location "@effect/core/stm/TRef/operations/getAndUpdate" */ export declare function getAndUpdate(f: (a: A) => A): (self: TRef) => STM; //# sourceMappingURL=getAndUpdate.d.ts.map