import { DataModels, IEventExtensionAdapter, Identity, Messages, Subscription } from '@5minds/processcube_engine_sdk'; import { IdentityLike } from '../IdentityAccessor'; import { BaseClient } from './BaseClient'; type EventList = DataModels.FlowNodeInstances.EventList; export declare class EventHttpClient extends BaseClient implements IEventExtensionAdapter { query(query: DataModels.FlowNodeInstances.EventQuery, options?: { identity?: IdentityLike; 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?: IdentityLike; }): Promise; triggerSignalEvent(signalName: string, options?: { /** * @requires Engine v19.2.0 */ customCorrelationId?: string; processInstanceId?: string; payload?: TPayload; identity?: IdentityLike; }): Promise; triggerTimerEvent(flowNodeInstanceId: string, options?: { identity?: Identity; }): Promise; onBoundaryEventTriggered(callback: Messages.CallbackTypes.OnBoundaryEventTriggeredCallback, options?: { subscribeOnce?: boolean; identity?: IdentityLike; }): Promise; onBoundaryEventFinished(callback: Messages.CallbackTypes.OnBoundaryEventFinishedCallback, options?: { subscribeOnce?: boolean; identity?: IdentityLike; }): Promise; onIntermediateThrowEventTriggered(callback: Messages.CallbackTypes.OnIntermediateThrowEventTriggeredCallback, options?: { subscribeOnce?: boolean; identity?: IdentityLike; }): Promise; onIntermediateCatchEventReached(callback: Messages.CallbackTypes.OnIntermediateCatchEventReachedCallback, options?: { subscribeOnce?: boolean; identity?: IdentityLike; }): Promise; onIntermediateCatchEventFinished(callback: Messages.CallbackTypes.OnIntermediateCatchEventFinishedCallback, options?: { subscribeOnce?: boolean; identity?: IdentityLike; }): Promise; onMessageTriggered(callback: Messages.CallbackTypes.OnMessageTriggeredCallback, options?: { subscribeOnce?: boolean; identity?: IdentityLike; }): Promise; onSignalTriggered(callback: Messages.CallbackTypes.OnSignalTriggeredCallback, options?: { subscribeOnce?: boolean; identity?: IdentityLike; }): Promise; onStartEventFinished(callback: Messages.CallbackTypes.OnStartEventFinishedCallback, options?: { subscribeOnce?: boolean; identity?: IdentityLike; }): Promise; onEndEventFinished(callback: Messages.CallbackTypes.OnEndEventFinishedCallback, options?: { subscribeOnce?: boolean; identity?: IdentityLike; }): Promise; removeSubscription(subscription: Subscription, identity?: Identity): void; } export {};