/** * Enum for inter-process communication messages that the Dispatcher sends to the parent process. * These messages are used when the Dispatcher is started from the package executable to notify * the parent process of certain events, such as when the server has started or when an adapter * has connected. * * @enum {string} * @see bin.ts */ export declare enum DispatcherIpcMessages { /** * Message indicating that an adapter has connected. * This message is sent once an adapter has successfully connected to the Dispatcher. */ ADAPTER_CONNECTED = "ADAPTER_CONNECTED", /** * Message indicating that the server has started. * Sent after the Dispatcher has successfully initialized and is ready to accept connections. */ DISPATCHER_STARTED = "DISPATCHER_STARTED" } /** * Enum for defining the roles of clients that connect to the Dispatcher. * This helps in identifying the type of client and managing the routing of messages appropriately. * * @enum {string} */ export declare enum DispatcherClientRoles { /** * Represents a client role for an Adapter. * Adapters are responsible for bridging between the Unified SDK Client and the actual SDK, handling JSON-RPC calls. */ ADAPTER = "ADAPTER", /** * Represents a client role for the Unified SDK Client. * The Unified SDK Client provides a common interface for interacting with various Pub/Sub SDKs. */ UNIFIED_CLIENT = "UNIFIED_CLIENT" }