import { WebSocket } from 'ws'; export interface BridgeContext { id: any; properties: Record; ws: WebSocket; } export declare class BridgeRegistry { private static byId; private static byWs; static register(id: any, properties: Record, ws: WebSocket): BridgeContext; static unregister(ws: WebSocket): void; static getByWs(ws: WebSocket): BridgeContext | undefined; static getById(id: any): BridgeContext | undefined; static get size(): number; }