import type * as Context from "effect/Context"; import * as Effect from "effect/Effect"; import * as Layer from "effect/Layer"; import type * as Scope from "effect/Scope"; /** * Builds a layer with the current scope. * @param layer - The layer to build. * @returns A scoped effect returning a Context with the provided layer. */ export declare const buildLayerScoped: (layer: Layer.Layer) => Effect.Effect, E, RIn | Scope.Scope>; /** * Builds a layer with the current scope and provides it to the given effect. * @param layer - The layer to build. */ export declare const provideLayerScoped: (layer: Layer.Layer) => (effect: Effect.Effect) => Effect.Effect>; //# sourceMappingURL=layer-scoped.d.ts.map