import { BaseError, EventInstance, Model } from '@5minds/processcube_engine_sdk';
import { FlowNodeInstanceDatabaseAdapter } from '../../../Tools/DatabaseAdaptersSequelize/index';
import { EventMiddlewareHandler } from '../../../Tools/EventMiddlewareHandler';
import { ProcessInstance } from '../../ProcessInstance';
import { FlowNodeHandlerFactory } from '../FlowNodeHandlerFactory';
import { EventHandler } from './EventHandler';
export declare class IntermediateConditionalCatchEventHandler extends EventHandler<Model.Events.ConditionalIntermediateCatchEvent> {
    private eventSubscriptions;
    private hasConditionBeenFulfilled;
    constructor(eventMiddlewareHandler: EventMiddlewareHandler, flowNodeHandlerFactory: FlowNodeHandlerFactory, flowNodeInstanceDatabaseAdapter: FlowNodeInstanceDatabaseAdapter, conditionalCatchEventModel: Model.Events.ConditionalIntermediateCatchEvent, processInstance: ProcessInstance);
    private get conditionalCatchEvent();
    protected persistOnSuspend(): Promise<void>;
    protected persistOnExit(): Promise<void>;
    protected persistOnError(error: BaseError): Promise<void>;
    protected persistOnTerminate(): Promise<void>;
    protected startExecution(executionCanceledCallback?: Function): Promise<Array<Model.Base.FlowNode>>;
    protected executeHandler(executionCanceledCallback?: Function): Promise<Array<Model.Base.FlowNode>>;
    protected resumeAfterSuspend(flowNodeInstance: EventInstance, resumptionCanceledCallback: Function): Promise<Array<Model.Base.FlowNode>>;
    private waitForConditionFulfillment;
    private cancelEventSubscriptions;
    private executeAndCheckCondition;
    private getAdditionalInformationForError;
}
