import type { Step } from './step.js'; import type { DefaultEngineType, WorkflowConfig } from './types.js'; import { Workflow } from './workflow.js'; /** * Create a workflow, auto-promoting to the evented engine when a `schedule` * is declared. */ export declare function createWorkflow[] = Step[], TRequestContext extends Record | unknown = unknown>(params: WorkflowConfig): Workflow; /** * @internal Build a workflow on the evented execution engine. * * Used by internal code (agentic loop, prepare-stream) that always needs the * evented engine regardless of whether a schedule is declared. */ export declare function createEventedWorkflow[] = Step[], TRequestContext extends Record | unknown = unknown>(params: WorkflowConfig): Workflow; export declare function cloneWorkflow[] = Step[], TPrevSchema = TInput>(workflow: Workflow, opts: { id: TWorkflowId; }): Workflow; //# sourceMappingURL=create.d.ts.map