/// <reference types="node" />
import * as http from "http";
import { WebSocketServerClient } from "./WebSocketServerClient";
import { ValueRecorder, BaseObserver } from "@opentelemetry/api-metrics";
export declare class WebSocketServer {
    private static _socketserver;
    private static _server;
    static _clients: WebSocketServerClient[];
    private static _db;
    static p_all: BaseObserver;
    static websocket_queue_count: BaseObserver;
    static websocket_queue_message_count: BaseObserver;
    static websocket_rate_limit: BaseObserver;
    static websocket_errors: BaseObserver;
    static websocket_messages: ValueRecorder;
    static message_queue_count: BaseObserver;
    static mongodb_watch_count: BaseObserver;
    static update_message_queue_count(cli: WebSocketServerClient): void;
    static update_mongodb_watch_count(cli: WebSocketServerClient): void;
    static configure(server: http.Server): void;
    private static pingClients;
}
