import type { Type } from '@nestjs/common'; import { QueueResult, RunOptions } from '../base/index.js'; import type { WorkflowEntity } from '../entities/index.js'; export interface ResumeOptions { transition: string; } export interface WorkflowOrchestrator { queue(workflowClass: Type, args?: Record, options?: RunOptions): Promise; resume(workflowId: string, payload: Record, options: ResumeOptions): Promise; complete(workflowEntity: WorkflowEntity): Promise; cancel(workflowId: string): Promise; cancelChildren(parentWorkflowId: string): Promise; } //# sourceMappingURL=workflow-orchestrator.interface.d.ts.map