export default function createServer(httpServer: any, options: any): WebSocketRuntime; declare class WebSocketRuntime { constructor(options?: {}); options: {}; connections: any[]; /** * @param {string} protocol * @param {string} command * @param {Object} payload * @param {any} context * @abstract */ receive(protocol: string, command: string, payload: any, context: any): void; /** * @param {string} protocol * @param {string} topic * @param {Object} payload * @param {any} context */ send(protocol: string, topic: string, payload: any, context: any): void; /** * @param {string} protocol * @param {string} topic * @param {Object} payload */ sendAll(protocol: string, topic: string, payload: any): void; } export {};