import { WorkflowAutomationService } from './workflow-automation.service'; import { FilterEvaluatorService } from '../../filter/service/filter-evaluator.service'; import { Action } from '../interface/action.interface'; import { ActionCategory } from 'src/module/workflow/entity/action-category.entity'; import { Repository } from 'typeorm'; export declare class WorkflowAutomationEngineService { private readonly wfService; private readonly filterEvaluator; private readonly actionCateRepo; private readonly actions; constructor(wfService: WorkflowAutomationService, filterEvaluator: FilterEvaluatorService, actionCateRepo: Repository); registerAction(actionName: string, actionInstance: Action): void; handleEntityEvent(entityType: string, eventType: 'CREATE' | 'UPDATE' | 'DELETE', newEntity: any, user: any, preUpdateStates?: Record | null): Promise; executeActions(workflow_automation_id: number, entity: any, user: any): Promise; }