import { BaseError, FlowNodeInstance, Model } from '@5minds/processcube_engine_sdk'; import { FlowNodeInstanceTypeSpecificData } from '../../../Contracts'; import { FlowNodeHandler } from '../FlowNodeHandler'; export declare abstract class GatewayHandler extends FlowNodeHandler { protected flowNodeInstancesArrivedAtGateway: Array; protected unresolved: Function[]; protected beforeExecute(rejectFunction?: Function, resumedFlowNodeInstances?: Array): Promise; protected afterExecute(): Promise; execute(previousFlowNodeInstanceId?: string, previousResult?: any): Promise; resume(flowNodeInstanceForHandler: FlowNodeInstance, allFlowNodeInstances: Array): Promise; protected resumeFromState(flowNodeInstance: FlowNodeInstance, processFlowNodeInstances?: Array): Promise>; protected resumeAfterExit(allFlowNodeInstances?: Array): Promise>; protected persistOnTerminate(typeData?: TFlowNodeData): Promise; protected persistOnError(error: BaseError, typeData?: TFlowNodeData): Promise; protected publishGatewayReachedNotification(): void; protected publishGatewayFinishedNotification(): void; }