import type { Duplex } from "stream";
/**
 * Tracks active WebSocket connections to prevent memory leaks
 */
export declare class ConnectionTracker {
    private connections;
    private maxConnections;
    /**
     * Add a connection to tracking
     */
    addConnection(socket: Duplex): boolean;
    /**
     * Remove a connection from tracking
     */
    removeConnection(socket: Duplex): void;
    /**
     * Get current connection count
     */
    getConnectionCount(): number;
    /**
     * Clean up all connections
     */
    cleanup(): void;
}
