import { BaseError, Model } from '@5minds/processcube_engine_sdk';
import { EventMiddlewareHandler, FlowNodeInstanceDatabaseAdapter } from '../../../Tools/index';
import { EscalationEventService } from '../../EscalationEventService';
import { ProcessInstance } from '../../ProcessInstance';
import { FlowNodeHandlerFactory } from '../FlowNodeHandlerFactory';
import { EventHandler } from './EventHandler';
export declare class IntermediateEscalationThrowEventHandler extends EventHandler<Model.Events.EscalationIntermediateThrowEvent> {
    private escalationEventService;
    constructor(eventMiddlewareHandler: EventMiddlewareHandler, flowNodeHandlerFactory: FlowNodeHandlerFactory, flowNodeInstanceDatabaseAdapter: FlowNodeInstanceDatabaseAdapter, intermediateEscalationThrowEventModel: Model.Events.EscalationIntermediateThrowEvent, processInstance: ProcessInstance, escalationEventService: EscalationEventService);
    private get escalationThrowEvent();
    protected persistOnExit(): Promise<void>;
    protected persistOnError(error: BaseError): Promise<void>;
    protected persistOnTerminate(): Promise<void>;
    protected startExecution(): Promise<Array<Model.Base.FlowNode>>;
    protected executeHandler(): Promise<Array<Model.Base.FlowNode>>;
}
