import { WebSocketServer } from 'ws'; import type { Server as HttpServer } from 'node:http'; import type { Server as HttpsServer } from 'node:https'; export declare function attachTrafficWss(server: HttpServer | HttpsServer): WebSocketServer;