import { Node } from './node'; import { Connection } from './connection'; import { Socket } from './socket'; export declare class IO { key: string; name: string; node: Node | null; socket: Socket; connections: Connection[]; allowMultipleConnections: boolean; constructor(key: string, name: string | undefined, socket: Socket, allowMultipleConnections: boolean); hasConnection(): boolean; removeConnection(connection: Connection): void; removeAllConnections(): void; }