import * as tsplus_module_1 from "@effect/core/stream/Channel/operations/provideEnvironment";
import { concreteStream, StreamInternal } from "@effect/core/stream/Stream/operations/_internal/StreamInternal";
/**
 * Provides the stream with its required environment, which eliminates its
 * dependency on `R`.
 *
 * @tsplus fluent ets/Stream provideEnvironment
 */

export function provideEnvironment_(self, env, __tsplusTrace) {
  void 0;
  return new StreamInternal(tsplus_module_1.provideEnvironment_(self.channel, env));
}
/**
 * Provides the stream with its required environment, which eliminates its
 * dependency on `R`.
 *
 * @tsplus static ets/Stream/Aspects provideEnvironment
 */

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