import { Env } from "@tsplus/stdlib/service/Env";
import { STM } from "@effect/core/stm/STM/definition/base";
/**
 * Accesses the environment of the transaction.
 * @tsplus static ets/STM/Ops environmentWith
 * @tsplus location "@effect/core/stm/STM/operations/environmentWith"
 */
export declare function environmentWith<R, A>(f: (env: Env<R>) => A): STM<R, never, A>;
//# sourceMappingURL=environmentWith.d.ts.map