import { IFlowNodeInstanceRepository, IFlowNodeInstanceService, Runtime } from '@process-engine/process_engine_contracts'; import { IIAMService } from '@essential-projects/iam_contracts'; export declare class FlowNodeInstanceService implements IFlowNodeInstanceService { private _flowNodeInstanceRepository; private _iamService; constructor(flowNodeInstanceRepository: IFlowNodeInstanceRepository, iamService: IIAMService); private readonly flowNodeInstanceRepository; private readonly iamService; queryByInstanceId(instanceId: string): Promise; queryByCorrelation(correlationId: string): Promise>; queryByProcessModel(processModelId: string): Promise>; querySuspendedByCorrelation(correlationId: string): Promise>; querySuspendedByProcessModel(processModelId: string): Promise>; queryProcessTokensByProcessInstanceId(processInstanceId: string): Promise>; persistOnEnter(flowNodeId: string, flowNodeInstanceId: string, token: Runtime.Types.ProcessToken): Promise; persistOnExit(flowNodeId: string, flowNodeInstanceId: string, token: Runtime.Types.ProcessToken): Promise; persistOnError(flowNodeId: string, flowNodeInstanceId: string, token: Runtime.Types.ProcessToken, error: Error): Promise; persistOnTerminate(flowNodeId: string, flowNodeInstanceId: string, token: Runtime.Types.ProcessToken): Promise; suspend(flowNodeId: string, flowNodeInstanceId: string, token: Runtime.Types.ProcessToken): Promise; resume(flowNodeId: string, flowNodeInstanceId: string, token: Runtime.Types.ProcessToken): Promise; }