/** * @since 1.0.0 */ import * as SqlClient from "@effect/sql/SqlClient"; import type { SqlError } from "@effect/sql/SqlError"; import * as Effect from "effect/Effect"; import * as Layer from "effect/Layer"; import * as Scope from "effect/Scope"; import { PersistenceError } from "./ClusterError.js"; import * as RunnerStorage from "./RunnerStorage.js"; import * as ShardId from "./ShardId.js"; import * as ShardingConfig from "./ShardingConfig.js"; /** * @since 1.0.0 * @category Constructors */ export declare const make: (options: { readonly prefix?: string | undefined; }) => Effect.Effect<{ readonly register: (runner: import("./Runner.js").Runner, healthy: boolean) => Effect.Effect; readonly unregister: (address: import("./RunnerAddress.js").RunnerAddress) => Effect.Effect; readonly getRunners: Effect.Effect, PersistenceError>; readonly setRunnerHealth: (address: import("./RunnerAddress.js").RunnerAddress, healthy: boolean) => Effect.Effect; readonly acquire: (address: import("./RunnerAddress.js").RunnerAddress, shardIds: Iterable) => Effect.Effect, PersistenceError>; readonly refresh: (address: import("./RunnerAddress.js").RunnerAddress, shardIds: Iterable) => Effect.Effect, PersistenceError>; readonly release: (address: import("./RunnerAddress.js").RunnerAddress, shardId: ShardId.ShardId) => Effect.Effect; readonly releaseAll: (address: import("./RunnerAddress.js").RunnerAddress) => Effect.Effect; }, SqlError, Scope.Scope | ShardingConfig.ShardingConfig | SqlClient.SqlClient>; /** * @since 1.0.0 * @category Layers */ export declare const layer: Layer.Layer; /** * @since 1.0.0 * @category Layers */ export declare const layerWith: (options: { readonly prefix?: string | undefined; }) => Layer.Layer; //# sourceMappingURL=SqlRunnerStorage.d.ts.map