import * as tsplus_module_1 from "@effect/core/stm/STM/operations/provideSomeEnvironment";
/**
 * Provides the transaction its required environment, which eliminates
 * its dependency on `R`.
 *
 * @tsplus fluent ets/STM provideEnvironment
 */

export function provideEnvironment_(self, env) {
  return tsplus_module_1.provideSomeEnvironment_(self, env);
}
/**
 * Provides the transaction its required environment, which eliminates
 * its dependency on `R`.
 *
 * @tsplus static ets/STM/Aspects provideEnvironment
 */

export const provideEnvironment = env => self => provideEnvironment_(self, env);
//# sourceMappingURL=provideEnvironment.mjs.map