import { FlowNodeInstance, Model } from '@5minds/processcube_engine_sdk'; import { FlowNodeInstanceTypeSpecificData } from '../../../Contracts'; import { FlowNodeHandler } from '../FlowNodeHandler'; /** * This is the base handler for events. */ export declare abstract class EventHandler extends FlowNodeHandler { protected triggeredByFlowNodeInstanceId: string; protected abortSignal: AbortController; protected beforeExecute(rejectFunction?: Function): Promise; protected persistOnCancel(typeData?: TFlowNodeData): Promise; execute(previousFlowNodeInstanceId?: string, previousResult?: any, executionCanceledCallback?: Function, triggeredByFlowNodeInstanceId?: string): Promise; resume(flowNodeInstanceForHandler: FlowNodeInstance, allFlowNodeInstances: Array, resumptionCanceledCallback?: Function): Promise; protected resumeFromState(flowNodeInstance: FlowNodeInstance, processFlowNodeInstances?: Array, resumptionCanceledCallback?: Function): Promise>; protected passTriggerThroughEventBasedGatwwayIfNecessary(): Promise; protected publishIntermediateThrowEventTriggeredNotification(): void; protected publishIntermediateCatchEventReachedNotification(): void; protected publishIntermediateCatchEventFinishedNotification(): void; private getEventName; private throwMultipleSubsequentFlowNodesError; }