import { FiberRef } from "@effect/core/io/FiberRef/definition";
import { Effect } from "@effect/core/io/Effect/definition";
/**
 * Gets the value associated with the current fiber and uses it to run the
 * specified effect.
 * @tsplus fluent ets/FiberRef getWith
 * @tsplus location "@effect/core/io/FiberRef/operations/getWith"
 */
export declare function getWith_<R, E, A, B, P>(self: FiberRef<A, P>, f: (a: A) => Effect<R, E, B>, __tsplusTrace?: string): Effect<R, E, B>;
/**
 * Gets the value associated with the current fiber and uses it to run the
 * specified effect.
 * @tsplus static ets/FiberRef/Aspects getWith
 * @tsplus pipeable ets/FiberRef getWith
 * @tsplus location "@effect/core/io/FiberRef/operations/getWith"
 */
export declare const getWith: <R, E, A, B>(f: (a: A) => import("../../Effect").Effect<R, E, B>, __tsplusTrace?: string) => <P>(self: import("../definition").FiberRef<A, P>) => import("../../Effect").Effect<R, E, B>;
//# sourceMappingURL=getWith.d.ts.map