import * as Tp from "../Collections/Immutable/Tuple/index.js"; import * as T from "./excl-effect.js"; import type { XFiberRef } from "./fiberRef.js"; /** * Atomically modifies the `FiberRef` with the specified function, which computes * a return value for the modification. This is a more powerful version of * `update`. * * @ets_data_first modify_ */ export declare function modify(f: (a: A) => Tp.Tuple<[B, A]>): (fiberRef: XFiberRef) => T.IO; /** * Atomically modifies the `FiberRef` with the specified function, which computes * a return value for the modification. This is a more powerful version of * `update`. */ export declare function modify_(fiberRef: XFiberRef, f: (a: A) => Tp.Tuple<[B, A]>): T.IO; //# sourceMappingURL=modify.d.ts.map