import { FlowNodeInstanceSortSettings, IUntypedTaskExtensionAdapter, Messages, Subscription, UntypedTaskList, UntypedTaskQuery } from '@5minds/processcube_engine_sdk'; import { IdentityLike } from '../IdentityAccessor'; import { BaseClient } from './BaseClient'; export declare class UntypedTaskHttpClient extends BaseClient implements IUntypedTaskExtensionAdapter { query(query: UntypedTaskQuery, options?: { identity?: IdentityLike; offset?: number; limit?: number; sortSettings?: FlowNodeInstanceSortSettings; includeCount?: boolean; }): Promise; /** * @param useLegacyEndpoint If true, will use the old "Empty Activity" Socket.IO Endpoint for receiving the notification. */ finishTask(taskInstanceId: string, identity?: IdentityLike, useLegacyEndpoint?: boolean): Promise; onUntypedTaskWaiting(callback: Messages.CallbackTypes.OnUntypedTaskWaitingCallback, options?: { subscribeOnce?: boolean; identity?: IdentityLike; /** * If true, will use the old "Empty Activity" Socket.IO Endpoint for receiving the notification. */ useLegacyEndpoint?: boolean; }): Promise; onUntypedTaskFinished(callback: Messages.CallbackTypes.OnUntypedTaskFinishedCallback, options?: { subscribeOnce?: boolean; identity?: IdentityLike; /** * If true, will use the old "Empty Activity" Socket.IO Endpoint for receiving the notification. */ useLegacyEndpoint?: boolean; }): Promise; removeSubscription(subscription: Subscription, identity?: IdentityLike): void; }