import { ModuleRef } from '@nestjs/core'; import { ExecutionReason, TaskExecution } from '../interfaces/execution.interface'; import { WorkflowDefinition } from '../interfaces/workflow-definition.interface'; import { GenericState, TaskReturnType } from '../types/task-method.type'; export interface ExecutionResult { success: boolean; taskResult?: TaskReturnType; execution: TaskExecution; } export declare class TaskRunner { private readonly moduleRef; private readonly logger; constructor(moduleRef: ModuleRef); executeTask(workflowDefinition: WorkflowDefinition, taskName: T, state: U, reason: ExecutionReason): Promise>; private getWorkflowInstance; private isValidWorkflowInstance; private calculateStateMutation; } //# sourceMappingURL=task-runner.service.d.ts.map