import type { Has, Tag } from "../Has";
import * as L from "../Layer";
import type { Effect } from "./effect";
/**
 * Constructs a layer from this effect.
 */
export declare function toLayerRaw<R, E, A>(effect: Effect<R, E, A>): L.Layer<R, E, A>;
/**
 * Constructs a layer from this effect.
 */
export declare function toLayer<A>(tag: Tag<A>): <R, E>(effect: Effect<R, E, A>) => L.Layer<R, E, Has<A>>;
//# sourceMappingURL=toLayer.d.ts.map