import { TRef } from "@effect/core/stm/TRef/definition";
import { STM } from "@effect/core/stm/STM/definition/base";
/**
* Updates the value of the variable, returning a function of the specified
* value.
* @tsplus static effect/core/stm/TRef.Aspects modify
* @tsplus pipeable effect/core/stm/TRef modify
* @tsplus location "@effect/core/stm/TRef/operations/modify"
*/
export declare function modify(f: (a: A) => readonly [B, A]): (self: TRef) => STM;
//# sourceMappingURL=modify.d.ts.map