import { ICorrelationService, IExecutionContextFacade, IFlowNodeInstanceRepository, Runtime } from '@process-engine/process_engine_contracts'; import { IIAMService } from '@essential-projects/iam_contracts'; export declare class CorrelationService implements ICorrelationService { private _flowNodeInstanceRepository; private _iamService; constructor(flowNodeInstanceRepository: IFlowNodeInstanceRepository, iamService: IIAMService); private readonly flowNodeInstanceRepository; private readonly iamService; getAllActiveCorrelations(executionContextFacade: IExecutionContextFacade): Promise>; /** * Queries all "running" and "suspended" FlowNodeInstances from the repository * and returns them as a concatenated result. */ private _getActiveFlowNodeInstances; /** * Queries all running and suspended FlowNodeInstances from the repository * and returns them as a concatenated result. * * @returns A list of all retrieved FlowNodeInstances. */ private _getRunningFlowNodeInstances; /** * Returns all running FlowNodeInstances from the repository. * * @returns A list of all retrieved FlowNodeInstances. */ private _getSuspendedFlowNodeInstances; private _getActiveCorrelationsFromFlowNodeList; private _createCorrelationFromFlowNodeInstance; }