import { FiberRef } from "@effect/core/io/FiberRef/definition";
import { Effect } from "@effect/core/io/Effect/definition";
/**
 * Returns an `Effect` that runs with `value` bound to the current fiber.
 *
 * Guarantees that fiber data is properly restored via `acquireRelease`.
 * @tsplus fluent ets/FiberRef locally
 * @tsplus location "@effect/core/io/FiberRef/operations/locally"
 */
export declare function locally_<A, P>(self: FiberRef<A, P>, value: A, __tsplusTrace?: string): <R, E, B>(use: import("../../Effect").Effect<R, E, B>) => import("../../Effect").Effect<R, E, B>;
/**
 * Returns an `Effect` that runs with `value` bound to the current fiber.
 *
 * Guarantees that fiber data is properly restored via `acquireRelease`.
 * @tsplus static ets/FiberRef/Aspects locally
 * @tsplus pipeable ets/FiberRef locally
 * @tsplus location "@effect/core/io/FiberRef/operations/locally"
 */
export declare const locally: <A>(value: A, __tsplusTrace?: string) => <P>(self: import("../definition").FiberRef<A, P>) => <R, E, B>(use: import("../../Effect").Effect<R, E, B>) => import("../../Effect").Effect<R, E, B>;
//# sourceMappingURL=locally.d.ts.map