import { STM } from "@effect/core/stm/STM/definition/base";
import { Env } from "@tsplus/stdlib/service/Env";
/**
 * Provides some of the environment required to run this effect,
 * leaving the remainder `R0`.
 * @tsplus fluent ets/STM provideSomeEnvironment
 * @tsplus location "@effect/core/stm/STM/operations/provideSomeEnvironment"
 */
export declare function provideSomeEnvironment_<R, E, A, R0>(self: STM<R, E, A>, f: (env: Env<R0>) => Env<R>): STM<R0, E, A>;
/**
 * Provides some of the environment required to run this effect,
 * leaving the remainder `R0`.
 * @tsplus static ets/STM/Aspects provideSomeEnvironment
 * @tsplus pipeable ets/STM provideSomeEnvironment
 * @tsplus location "@effect/core/stm/STM/operations/provideSomeEnvironment"
 */
export declare const provideSomeEnvironment: <R, R0>(f: (env: import("@tsplus/stdlib/service/Env").Env<R0>) => import("@tsplus/stdlib/service/Env").Env<R>) => <E, A>(self: import("../definition").STM<R, E, A>) => import("../definition").STM<R0, E, A>;
//# sourceMappingURL=provideSomeEnvironment.d.ts.map