import { type OnApplicationShutdown } from '@nestjs/common'; import { Model } from 'mongoose'; import { WorkflowRun } from '../schemas/workflow-run.schema'; import { WorkflowsConfigModel } from '../workflows.config'; import { WorkflowRegistry } from './workflow-registry.service'; export declare class WorkflowScheduler implements OnApplicationShutdown { private readonly workflowRunModel; private readonly namespace; private readonly workflowRegistry; private readonly config; private readonly logger; private readonly scheduledJobs; constructor(workflowRunModel: Model>, namespace: string, workflowRegistry: WorkflowRegistry, config: WorkflowsConfigModel); private formatNextExecution; scheduleAllWorkflows(): void; createWorkflowDocument(workflowName: string): Promise; onApplicationShutdown(signal?: string): Promise; stopAllSchedules(): void; } //# sourceMappingURL=workflow-scheduler.service.d.ts.map