import { Client } from 'stompjs'; export interface IWebsocket { client(ws: WebSocket): Client; client(url: string): Client; client(url: string, protocols?: string | Array): Client; client(host: string, port: number): Client; }