import { c as EventSchemaConfig, Q as QueueSchemaConfig, ad as RunContext } from '../config-BFqid9Gr.js';
import { A as AnyDatabaseProvider } from '../config-BiNoIHRs.js';
import { A as ActorWorkflowContext } from '../context-x9zKhx5T.js';
export { W as WorkflowBranchContextOf, a as WorkflowContextOf, b as WorkflowLoopContextOf, c as WorkflowStepContextOf } from '../context-x9zKhx5T.js';
export { Loop } from '@rivetkit/workflow-engine';
import 'zod/v4';
import '@rivetkit/virtual-websocket';
import '@rivetkit/traces';
import 'hono';
import 'vbare';
import 'pino';
import '../utils.js';
import '../utils-fwx3o3K9.js';
import 'hono/utils/http-status';
import '@rivetkit/sqlite-vfs';
import 'drizzle-orm/sqlite-core';
import 'zod';
import '@standard-schema/spec';
import 'nanoevents';
import '../v3-DnYObHH3.js';
import '@rivetkit/bare-ts';

declare function workflow<TState, TConnParams, TConnState, TVars, TInput, TDatabase extends AnyDatabaseProvider, TEvents extends EventSchemaConfig = Record<never, never>, TQueues extends QueueSchemaConfig = Record<never, never>>(fn: (ctx: ActorWorkflowContext<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues>) => Promise<unknown>): (c: RunContext<TState, TConnParams, TConnState, TVars, TInput, TDatabase, TEvents, TQueues>) => Promise<void>;

export { ActorWorkflowContext, workflow };
