import { BpmnType, DataModels, DeleteProcessInstanceQuery, IProcessInstanceExtensionAdapter } from '@5minds/processcube_engine_sdk'; import { IdentityLike } from '../IdentityAccessor'; import { BaseClient } from './BaseClient'; export declare class ProcessInstanceHttpClient extends BaseClient implements IProcessInstanceExtensionAdapter { query(query: DataModels.ProcessInstances.ProcessInstanceQuery, options?: { identity?: IdentityLike; includeCount?: boolean; includeXml?: boolean; offset?: number; limit?: number; sortSettings?: DataModels.ProcessInstances.ProcessInstanceSortSettings; }): Promise; getChildProcessInstanceIds(processInstanceId: string, options: { identity?: IdentityLike; parentFlowNodeType?: BpmnType.subProcess | BpmnType.callActivity; includeNested?: boolean; }): Promise>; getAncestorProcessInstanceIds(processInstanceId: string, options: { identity?: IdentityLike; onlyForEmbeddedProcesses?: boolean; }): Promise>; getProcessDefinition(processInstanceId: string, options?: { identity?: IdentityLike; includeXml?: boolean; }): Promise; getProcessModel(processInstanceId: string, identity?: IdentityLike): Promise; transferOwnership(processInstanceId: string, newOwner: DataModels.Iam.Identity, identity?: DataModels.Iam.Identity): Promise; terminateProcessInstance(processInstanceId: string, identity?: IdentityLike): Promise; retryProcessInstance(processInstanceId: string, options?: { flowNodeInstanceId?: string; newStartToken?: any; newDataObjects?: Record; updateProcessModel?: boolean; identity?: IdentityLike; }): Promise; /** * @deprecated As of Engine v19.0.0 this semantic will be replaced by a more flexible query-based syntax. Use {@link delete} to take full advantage of this. */ deleteProcessInstances(processInstanceIds: string | Array, deleteAllRelatedData?: boolean, identity?: IdentityLike): Promise; /** * @requires Engine >= v19.0.0 */ delete(processInstanceQuery: DeleteProcessInstanceQuery, deleteAllRelatedData?: boolean, identity?: IdentityLike): Promise; private handleError; }