import { CronjobEventMessage, EventMessage, ExternalTaskCreatedMessage, ExternalTaskLockedMessage, ExternalTaskUnlockedMessage, ProcessDeploymentMessage, ProcessInstancesDeletedMessage, ProcessIsExecutableChangedMessage, UserTaskFinishedMessage } from '@5minds/processcube_engine_sdk'; /** * See https://socket.io/docs/v3/client-api/index.html#Event-%E2%80%98disconnect%E2%80%99 for more information. */ export declare type OnConnected = () => void | Promise; export declare type OnDisconnected = (reason: string) => void | Promise; export declare type OnReconnected = (attempt: number) => void | Promise; export declare type OnActivityErrorCallback = (activityError: EventMessage) => void | Promise; export declare type OnProcessDeployedCallback = (message: ProcessDeploymentMessage) => void | Promise; export declare type OnProcessInstancesDeletedCallback = (message: ProcessInstancesDeletedMessage) => void | Promise; export declare type OnProcessIsExecutableChangedCallback = (message: ProcessIsExecutableChangedMessage) => void | Promise; export declare type OnProcessUndeployedCallback = (message: ProcessDeploymentMessage) => void | Promise; export declare type OnBoundaryEventWaitingCallback = (boundaryEventWaiting: EventMessage) => void | Promise; export declare type OnBoundaryEventTriggeredCallback = (boundaryEventTriggered: EventMessage) => void | Promise; export declare type OnBoundaryEventFinishedCallback = (boundaryEventFinished: EventMessage) => void | Promise; export declare type OnIntermediateThrowEventTriggeredCallback = (intermediateThrowEventTriggered: EventMessage) => void | Promise; export declare type OnIntermediateCatchEventReachedCallback = (intermediateCatchEventReached: EventMessage) => void | Promise; export declare type OnIntermediateCatchEventFinishedCallback = (intermediateCatchEventFinished: EventMessage) => void | Promise; export declare type OnActivityReachedCallback = (activityReached: EventMessage) => void | Promise; export declare type OnActivityFinishedCallback = (activityFinished: EventMessage) => void | Promise; export declare type OnUntypedTaskWaitingCallback = (taskWaiting: EventMessage) => void | Promise; export declare type OnUntypedTaskFinishedCallback = (taskFinished: EventMessage) => void | Promise; export declare type OnActivityCanceledCallback = (activityCanceled: EventMessage) => void | Promise; export declare type OnManualTaskWaitingCallback = (manualTaskWaiting: EventMessage) => void | Promise; export declare type OnManualTaskFinishedCallback = (manualTaskFinished: EventMessage) => void | Promise; export declare type OnUserTaskWaitingCallback = (userTaskWaiting: EventMessage) => void | Promise; export declare type OnUserTaskFinishedCallback = (userTaskFinished: UserTaskFinishedMessage) => void | Promise; export declare type OnUserTaskReservedCallback = (userTaskWaiting: EventMessage) => void | Promise; export declare type OnUserTaskReservationCanceledCallback = (userTaskFinished: UserTaskFinishedMessage) => void | Promise; export declare type OnProcessStartingCallback = (processStarting: EventMessage) => void | Promise; export declare type OnProcessStartedCallback = (processStarted: EventMessage) => void | Promise; export declare type OnProcessErrorCallback = (processError: EventMessage) => void | Promise; export declare type OnProcessEndedCallback = (processEnded: EventMessage) => void | Promise; export declare type OnProcessOwnerChangedCallback = (processOwnerChanged: EventMessage) => void | Promise; export declare type OnProcessTerminatedCallback = (processTerminated: EventMessage) => void | Promise; export declare type OnCronjobExecutedCallback = (cronjobExecuted: CronjobEventMessage) => void | Promise; export declare type OnCronjobStoppedCallback = (cronjobStopped: CronjobEventMessage) => void | Promise; export declare type OnCronjobUpdatedCallback = (cronjobUpdated: CronjobEventMessage) => void | Promise; export declare type OnCronjobCreatedCallback = (cronjobCreated: CronjobEventMessage) => void | Promise; export declare type OnCronjobRemovedCallback = (cronjobRemoved: CronjobEventMessage) => void | Promise; export declare type OnExternalTaskCreatedCallback = (externaTask: ExternalTaskCreatedMessage) => void | Promise; export declare type OnExternalTaskLockedCallback = (externaTask: ExternalTaskLockedMessage) => void | Promise; export declare type OnExternalTaskUnlockedCallback = (externaTask: ExternalTaskUnlockedMessage) => void | Promise; export declare type OnGatewayReachedCallback = (gatewayReached: EventMessage) => void | Promise; export declare type OnGatewayFinishedCallback = (gatewayFinished: EventMessage) => void | Promise;