import { DataModels, Identity, Messages, Subscription } from '../index'; type EventList = DataModels.FlowNodeInstances.EventList; export interface IEventExtensionAdapter { query(query: DataModels.FlowNodeInstances.EventQuery, options?: { identity?: Identity; offset?: number; limit?: number; sortSettings?: DataModels.FlowNodeInstances.FlowNodeInstanceSortSettings; includeCount?: boolean; }): Promise; triggerMessageEvent(messageName: string, options?: { /** * @requires Engine v19.2.0 */ customCorrelationId?: string; processInstanceId?: string; payload?: TPayload; identity?: Identity; messageChannel?: string; }): Promise; triggerSignalEvent(signalName: string, options?: { /** * @requires Engine v19.2.0 */ customCorrelationId?: string; processInstanceId?: string; payload?: TPayload; identity?: Identity; signalChannel?: string; }): Promise; /** * @requires Engine v19 */ triggerTimerEvent(flowNodeInstanceId: string, options?: { identity?: Identity; }): Promise; onBoundaryEventTriggered(callback: Messages.CallbackTypes.OnBoundaryEventTriggeredCallback, options?: { subscribeOnce?: boolean; identity?: Identity; }): Promise; onBoundaryEventFinished(callback: Messages.CallbackTypes.OnBoundaryEventFinishedCallback, options?: { subscribeOnce?: boolean; identity?: Identity; }): Promise; onIntermediateThrowEventTriggered(callback: Messages.CallbackTypes.OnIntermediateThrowEventTriggeredCallback, options?: { subscribeOnce?: boolean; identity?: Identity; }): Promise; onIntermediateCatchEventReached(callback: Messages.CallbackTypes.OnIntermediateCatchEventReachedCallback, options?: { subscribeOnce?: boolean; identity?: Identity; }): Promise; onIntermediateCatchEventFinished(callback: Messages.CallbackTypes.OnIntermediateCatchEventFinishedCallback, options?: { subscribeOnce?: boolean; identity?: Identity; }): Promise; onMessageTriggered(callback: Messages.CallbackTypes.OnMessageTriggeredCallback, options?: { subscribeOnce?: boolean; identity?: Identity; }): Promise; onSignalTriggered(callback: Messages.CallbackTypes.OnSignalTriggeredCallback, options?: { subscribeOnce?: boolean; identity?: Identity; }): Promise; onStartEventFinished(callback: Messages.CallbackTypes.OnStartEventFinishedCallback, options?: { subscribeOnce?: boolean; identity?: Identity; }): Promise; onEndEventFinished(callback: Messages.CallbackTypes.OnEndEventFinishedCallback, options?: { subscribeOnce?: boolean; identity?: Identity; }): Promise; removeSubscription(subscription: Subscription, identity?: Identity): void; } export {};