import { Model } from 'mongoose'; import { GenericState } from 'src/types/task-method.type'; import { WorkflowDefinition } from '../interfaces/workflow-definition.interface'; import { WorkflowExecution, WorkflowRunData } from '../interfaces/workflow-execution.interface'; import { WorkflowRun } from '../schemas/workflow-run.schema'; import { WorkflowRegistry } from './workflow-registry.service'; export declare class WorkflowManager { private readonly workflowRunModel; private readonly namespace; private readonly workflowRegistry; private readonly logger; constructor(workflowRunModel: Model>, namespace: string, workflowRegistry: WorkflowRegistry); triggerWorkflow(workflowName: string): Promise>; getRegisteredWorkflows(): WorkflowDefinition[]; getWorkflowDocument(workflowId: string): Promise | null>; listWorkflowDocuments(options?: { workflowName?: string; status?: string; limit?: number; skip?: number; }): Promise[]>; countWorkflowDocuments(options?: { workflowName?: string; status?: string; }): Promise; cleanupOldWorkflows(olderThanDays?: number): Promise; } //# sourceMappingURL=workflow-manager.service.d.ts.map