import { Env } from "@tsplus/stdlib/service/Env";
import { Effect } from "@effect/core/io/Effect/definition";
import { Channel } from "@effect/core/stream/Channel/definition/base";
/**
 * Accesses the environment of the channel in the context of an effect.
 * @tsplus static ets/Channel/Ops environmentWithEffect
 * @tsplus location "@effect/core/stream/Channel/operations/environmentWithEffect"
 */
export declare function environmentWithEffect<R, R1, OutErr, OutDone>(f: (env: Env<R>) => Effect<R1, OutErr, OutDone>): Channel<R | R1, unknown, unknown, unknown, OutErr, never, OutDone>;
//# sourceMappingURL=environmentWithEffect.d.ts.map