import { type FuncType, type Type } from '@frontmcp/di'; import { type WorkflowMetadata, type WorkflowStepResult } from '../metadata/workflow.metadata'; import { ExecutionContextBase, type ExecutionContextBaseArgs } from './execution-context.interface'; export type WorkflowType = Type | FuncType | string; export interface WorkflowExecutionResult { workflowName: string; state: 'completed' | 'failed'; stepResults: Record; startedAt: number; completedAt: number; } export type WorkflowCtorArgs = ExecutionContextBaseArgs & { metadata: WorkflowMetadata; }; /** * WorkflowContext wraps the engine execution. * Unlike JobContext, this is NOT user-subclassed. */ export declare class WorkflowContext extends ExecutionContextBase { readonly metadata: WorkflowMetadata; private _stepResults; constructor(args: WorkflowCtorArgs); get workflowName(): string; get workflowId(): string; get stepResults(): ReadonlyMap; } //# sourceMappingURL=workflow.interface.d.ts.map