import { LazyArg } from "@tsplus/stdlib/data/Function";
import { Effect } from "@effect/core/io/Effect/definition";
import { Env } from "@tsplus/stdlib/service/Env";
import { Layer } from "@effect/core/io/Layer/definition";
import { Scope } from "@effect/core/io/Scope/definition";
/**
 * Constructs a layer from the specified scoped effect, which must return one
 * or more services.
 * @tsplus static ets/Layer/Ops scopedEnvironment
 * @tsplus location "@effect/core/io/Layer/operations/scopedEnvironment"
 */
export declare function scopedEnvironment<R, E, A>(effect: LazyArg<Effect<R, E, Env<A>>>, __tsplusTrace?: string): Layer<Exclude<R, Scope>, E, A>;
//# sourceMappingURL=scopedEnvironment.d.ts.map