import { Effect } from "@effect/core/io/Effect/definition";
import { Tag } from "@tsplus/stdlib/service/Tag";
import { Layer } from "@effect/core/io/Layer/definition";
/**
 * Constructs a layer from this effect.
 * @tsplus fluent ets/Effect toLayer
 * @tsplus location "@effect/core/io/Effect/operations/toLayer"
 */
export declare function toLayer_<R, E, A>(self: Effect<R, E, A>, tag: Tag<A>): Layer<R, E, A>;
/**
 * Constructs a layer from this effect.
 * @tsplus static ets/Effect/Aspects toLayer
 * @tsplus location "@effect/core/io/Effect/operations/toLayer"
 */
export declare function toLayer<A>(tag: Tag<A>): <R, E>(self: import("../definition").Effect<R, E, A>) => import("../../Layer").Layer<R, E, A>;
//# sourceMappingURL=toLayer.d.ts.map