Add TypeScript declaration for ReconnectingWebSocket class.