import * as Ref from "@confect/core/Ref"; import { type GenericActionCtx } from "convex/server"; import * as Effect from "effect/Effect"; import * as Context from "effect/Context"; import * as Layer from "effect/Layer"; import type * as Schema from "effect/Schema"; export declare const ActionRunner: Context.Service<{ runAction: (action: Action, ...args: Ref.OptionalArgs) => Effect.Effect, Ref.Error | Schema.SchemaError>; }, { runAction: (action: Action, ...args: Ref.OptionalArgs) => Effect.Effect, Ref.Error | Schema.SchemaError>; }>; export type ActionRunner = typeof ActionRunner.Identifier; export declare const layer: (runAction: GenericActionCtx["runAction"]) => Layer.Layer<{ runAction: (action: Action, ...args: Ref.OptionalArgs) => Effect.Effect, Ref.Error | Schema.SchemaError>; }, never, never>; //# sourceMappingURL=ActionRunner.d.ts.map