import { EventEmitter } from 'node:events'; import type { WorkflowRun } from '../models/WorkflowRun.js'; import { WorkflowRunRepository } from '../repositories/WorkflowRun.repository.js'; export declare class WorkflowRunEventsService extends EventEmitter { private readonly workflowRunRepository; private readonly scheduledUpdates; constructor(workflowRunRepository: WorkflowRunRepository); runCreated(run: WorkflowRun): void; runUpdated(runId: string): void; private flush; }