import { WebSocket } from 'ws'; import type { WSMessage } from '../../types/websocket.js'; import type { ConnectionManager } from './connection-manager.js'; import type { HealthMonitor } from './health-monitor.js'; import type { WSComponentDependencies } from './types.js'; import { ErrorHandlerCore } from './error-handler-core.js'; export declare class ErrorHandler extends ErrorHandlerCore { constructor(dependencies: WSComponentDependencies); handleConnectionError(error: Error, connectionId: string, connectionManager: ConnectionManager, healthMonitor?: HealthMonitor): Promise; handleMessageError(error: Error, connectionData: { ws: WebSocket; connectionId: string; message?: WSMessage; connectionManager?: ConnectionManager; }): Promise; handleAuthenticationError(error: Error, ws: WebSocket, connectionId: string, message?: WSMessage): Promise; handleRateLimitError(ws: WebSocket, connectionId: string, rateLimitType: string, message?: WSMessage): Promise; handleValidationError(error: Error, ws: WebSocket, connectionId: string, message?: WSMessage): Promise; handleSystemError(error: Error, context?: string, metadata?: Record): Promise; private sendErrorToClient; } //# sourceMappingURL=error-handler.d.ts.map