import { EventInstance, Model } from '@5minds/processcube_engine_sdk'; import { FlowNodeInstanceDatabaseAdapter } from '../../../Tools/DatabaseAdaptersSequelize/index'; import { EventMiddlewareHandler } from '../../../Tools/EventMiddlewareHandler'; import { EscalationEventService } from '../../EscalationEventService'; import { ProcessInstance } from '../../ProcessInstance'; import { FlowNodeHandlerFactory } from '../FlowNodeHandlerFactory'; import { BoundaryEventHandler, BoundaryEventTriggerCallback } from './BoundaryEventHandler'; export declare class EscalationBoundaryEventHandler extends BoundaryEventHandler { protected boundaryEventModel: Model.Events.EscalationBoundaryEvent; private escalationEventService; private onEscalationSubscriptionId; private acknowledgeEventReceivedId; constructor(eventMiddlewareHandler: EventMiddlewareHandler, flowNodeInstanceDatabaseAdapter: FlowNodeInstanceDatabaseAdapter, flowNodeHandlerFactory: FlowNodeHandlerFactory, boundaryEventModel: Model.Events.EscalationBoundaryEvent, processInstance: ProcessInstance, processTokenOfAttachedFlowNode: Record, escalationEventService: EscalationEventService); execute(onTriggeredCallback: BoundaryEventTriggerCallback, attachedFlowNodeInstanceId: string, decoratedFlowNodeRejectFunc: Function): Promise; resume(boundaryEventInstance: EventInstance, onTriggeredCallback: BoundaryEventTriggerCallback, attachedFlowNodeInstanceId: string, decoratedFlowNodeRejectFunc: Function, flowNodeInstances?: Array): Promise; finish(): Promise; cancel(): Promise; private waitForEscalation; }