import { ApiKey, DeviceId } from '../protocol/protocol'; export declare class ReconnectableWebSocket extends WebSocket { static readonly deviceIdMap: Map; constructor(url: string, protocols?: string | string[]); static setDeviceId(apiKey: ApiKey, deviceId: DeviceId): void; }