import { FlowNodeInstanceSortSettings, Identity, Messages, Subscription, UntypedTaskList, UntypedTaskQuery } from '../index'; export interface IUntypedTaskExtensionAdapter { query(query: UntypedTaskQuery, options?: { identity?: Identity; offset?: number; limit?: number; sortSettings?: FlowNodeInstanceSortSettings; includeCount?: boolean; }): Promise; finishTask(taskInstanceId: string, identity?: Identity): Promise; onUntypedTaskWaiting(callback: Messages.CallbackTypes.OnUntypedTaskWaitingCallback, options?: { subscribeOnce?: boolean; identity?: Identity; }): Promise; onUntypedTaskFinished(callback: Messages.CallbackTypes.OnUntypedTaskFinishedCallback, options?: { subscribeOnce?: boolean; identity?: Identity; }): Promise; removeSubscription(subscription: Subscription, identity?: Identity): void; }