import type { Server } from './Server'; import { Connection } from './adapter/Connection'; import { ConnectionController } from './ConnectionController'; export declare class ServerController { private readonly server; readonly clientConnections: Set; constructor(server: Server); onClientConnected(connection: Connection): Promise; onClientDisconnected(cm: ConnectionController): void; getServer(): Server; }