import { FiberRef } from "@effect/core/io/FiberRef/definition";
import { Effect } from "@effect/core/io/Effect/definition";
import { Scope } from "@effect/core/io/Scope/definition";
/**
 * Returns a managed effect that sets the value associated with the curent
 * fiber to the specified value as its `acquire` action and restores it to its
 * original value as its `release` action.
 * @tsplus fluent ets/FiberRef locallyScoped
 * @tsplus location "@effect/core/io/FiberRef/operations/locallyScoped"
 */
export declare function locallyScoped_<A, P>(self: FiberRef<A, P>, value: A, __tsplusTrace?: string): Effect<Scope, never, void>;
/**
 * Returns a managed effect that sets the value associated with the curent
 * fiber to the specified value as its `acquire` action and restores it to its
 * original value as its `release` action.
 * @tsplus static ets/FiberRef/Aspects locallyScoped
 * @tsplus pipeable ets/FiberRef locallyScoped
 * @tsplus location "@effect/core/io/FiberRef/operations/locallyScoped"
 */
export declare const locallyScoped: <A>(value: A, __tsplusTrace?: string) => <P>(self: import("../definition").FiberRef<A, P>) => import("../../Effect").Effect<import("../../Scope").Scope, never, void>;
//# sourceMappingURL=locallyScoped.d.ts.map