export declare const SYSTEM_NAMESPACE_COLLECTION = "system.namespaces"; export declare const SYSTEM_INDEX_COLLECTION = "system.indexes"; export declare const SYSTEM_PROFILE_COLLECTION = "system.profile"; export declare const SYSTEM_USER_COLLECTION = "system.users"; export declare const SYSTEM_COMMAND_COLLECTION = "$cmd"; export declare const SYSTEM_JS_COLLECTION = "system.js"; export declare const ERROR: "error"; export declare const TIMEOUT: "timeout"; export declare const CLOSE: "close"; export declare const OPEN: "open"; export declare const CONNECT: "connect"; export declare const CLOSED: "closed"; export declare const ENDED: "ended"; export declare const MESSAGE: "message"; export declare const PINNED: "pinned"; export declare const UNPINNED: "unpinned"; export declare const DESCRIPTION_RECEIVED = "descriptionReceived"; export declare const SERVER_OPENING: "serverOpening"; export declare const SERVER_CLOSED: "serverClosed"; export declare const SERVER_DESCRIPTION_CHANGED: "serverDescriptionChanged"; export declare const TOPOLOGY_OPENING: "topologyOpening"; export declare const TOPOLOGY_CLOSED: "topologyClosed"; export declare const TOPOLOGY_DESCRIPTION_CHANGED: "topologyDescriptionChanged"; export declare const CONNECTION_POOL_CREATED: "connectionPoolCreated"; export declare const CONNECTION_POOL_CLOSED: "connectionPoolClosed"; export declare const CONNECTION_POOL_CLEARED: "connectionPoolCleared"; export declare const CONNECTION_CREATED: "connectionCreated"; export declare const CONNECTION_READY: "connectionReady"; export declare const CONNECTION_CLOSED: "connectionClosed"; export declare const CONNECTION_CHECK_OUT_STARTED: "connectionCheckOutStarted"; export declare const CONNECTION_CHECK_OUT_FAILED: "connectionCheckOutFailed"; export declare const CONNECTION_CHECKED_OUT: "connectionCheckedOut"; export declare const CONNECTION_CHECKED_IN: "connectionCheckedIn"; export declare const CLUSTER_TIME_RECEIVED: "clusterTimeReceived"; export declare const COMMAND_STARTED: "commandStarted"; export declare const COMMAND_SUCCEEDED: "commandSucceeded"; export declare const COMMAND_FAILED: "commandFailed"; export declare const SERVER_HEARTBEAT_STARTED: "serverHeartbeatStarted"; export declare const SERVER_HEARTBEAT_SUCCEEDED: "serverHeartbeatSucceeded"; export declare const SERVER_HEARTBEAT_FAILED: "serverHeartbeatFailed"; export declare const RESPONSE: "response"; export declare const MORE: "more"; export declare const INIT: "init"; export declare const CHANGE: "change"; export declare const END: "end"; export declare const RESUME_TOKEN_CHANGED: "resumeTokenChanged"; /** @public */ export declare const HEARTBEAT_EVENTS: readonly ["serverHeartbeatStarted", "serverHeartbeatSucceeded", "serverHeartbeatFailed"]; /** @public */ export declare const CMAP_EVENTS: readonly ["connectionPoolCreated", "connectionPoolClosed", "connectionCreated", "connectionReady", "connectionClosed", "connectionCheckOutStarted", "connectionCheckOutFailed", "connectionCheckedOut", "connectionCheckedIn", "connectionPoolCleared"]; /** @public */ export declare const TOPOLOGY_EVENTS: readonly ["serverOpening", "serverClosed", "serverDescriptionChanged", "topologyOpening", "topologyClosed", "topologyDescriptionChanged", "error", "timeout", "close"]; /** @public */ export declare const APM_EVENTS: readonly ["commandStarted", "commandSucceeded", "commandFailed"]; /** * All events that we relay to the `Topology` * @internal */ export declare const SERVER_RELAY_EVENTS: readonly ["serverHeartbeatStarted", "serverHeartbeatSucceeded", "serverHeartbeatFailed", "commandStarted", "commandSucceeded", "commandFailed", "connectionPoolCreated", "connectionPoolClosed", "connectionCreated", "connectionReady", "connectionClosed", "connectionCheckOutStarted", "connectionCheckOutFailed", "connectionCheckedOut", "connectionCheckedIn", "connectionPoolCleared"]; /** * All events we listen to from `Server` instances, but do not forward to the client * @internal */ export declare const LOCAL_SERVER_EVENTS: readonly ["connect", "descriptionReceived", "closed", "ended"]; /** @public */ export declare const MONGO_CLIENT_EVENTS: readonly ["connectionPoolCreated", "connectionPoolClosed", "connectionCreated", "connectionReady", "connectionClosed", "connectionCheckOutStarted", "connectionCheckOutFailed", "connectionCheckedOut", "connectionCheckedIn", "connectionPoolCleared", "commandStarted", "commandSucceeded", "commandFailed", "serverOpening", "serverClosed", "serverDescriptionChanged", "topologyOpening", "topologyClosed", "topologyDescriptionChanged", "error", "timeout", "close", "serverHeartbeatStarted", "serverHeartbeatSucceeded", "serverHeartbeatFailed"]; /** * @internal * The legacy hello command that was deprecated in MongoDB 5.0. */ export declare const LEGACY_HELLO_COMMAND = "ismaster"; /** * @internal * The legacy hello command that was deprecated in MongoDB 5.0. */ export declare const LEGACY_HELLO_COMMAND_CAMEL_CASE = "isMaster"; //# sourceMappingURL=constants.d.ts.map