import type { Effect } from "../Effect/effect.js"; import type { XFiberRef } from "./fiberRef.js"; /** * Returns an `Effect` that runs with `value` bound to the current fiber. * * Guarantees that fiber data is properly restored via `bracket`. * * @ets_data_first locally_ */ export declare function locally(value: A): (fiberRef: XFiberRef) => (effect: Effect) => Effect; /** * Returns an `Effect` that runs with `value` bound to the current fiber. * * Guarantees that fiber data is properly restored via `bracket`. */ export declare function locally_(fiberRef: XFiberRef, value: A): (effect: Effect) => Effect; //# sourceMappingURL=locally.d.ts.map