import { Env } from "@tsplus/stdlib/service/Env";
import { Stream } from "@effect/core/stream/Stream/definition";
/**
 * Accesses the environment of the stream in the context of a stream.
 * @tsplus static ets/Stream/Ops environmentWithStream
 * @tsplus location "@effect/core/stream/Stream/operations/environmentWithStream"
 */
export declare function environmentWithStream<R0, R, E, A>(f: (env: Env<R0>) => Stream<R, E, A>, __tsplusTrace?: string): Stream<R0 | R, E, A>;
//# sourceMappingURL=environmentWithStream.d.ts.map