import { Layer } from "@effect/core/io/Layer/definition";
import { RuntimeConfig } from "@effect/core/io/RuntimeConfig/definition";
import { Effect } from "@effect/core/io/Effect/definition";
import { Scope } from "@effect/core/io/Scope/definition";
import { Runtime } from "@effect/core/io/Runtime/definition";
/**
 * Converts a layer that requires no services into a scoped runtime, which can
 * be used to execute effects.
 * @tsplus fluent ets/Layer toRuntime
 * @tsplus location "@effect/core/io/Layer/operations/toRuntime"
 */
export declare function toRuntime_<RIn, E, ROut>(self: Layer<RIn, E, ROut>, runtimeConfig: RuntimeConfig): Effect<RIn | Scope, E, Runtime<ROut>>;
/**
 * Converts a layer that requires no services into a scoped runtime, which can
 * be used to execute effects.
 * @tsplus static ets/Layer/Aspects toRuntime
 * @tsplus pipeable ets/Layer toRuntime
 * @tsplus location "@effect/core/io/Layer/operations/toRuntime"
 */
export declare const toRuntime: (runtimeConfig: RuntimeConfig) => <RIn, E, ROut>(self: import("../definition").Layer<RIn, E, ROut>) => import("../../Effect").Effect<import("../../Scope").Scope | RIn, E, import("../../Runtime").Runtime<ROut>>;
//# sourceMappingURL=toRuntime.d.ts.map