export = InternalProtocol; /** * Internal protocol to use SDK realtime subscription from plugins. * * This protocol only use one connection. This connection is always open. * * Messages to the embedded SDK are dispatched with the following event: * - 'core:network:internal:message' */ declare class InternalProtocol extends Protocol { constructor(); connection: ClientConnection; /** * List of channel IDs * @type {Set} */ channels: Set; init(entryPoint: any): Promise; joinChannel(channel: any, connectionId: any): void; leaveChannel(channel: any, connectionId: any): void; disconnect(connectionId: any): void; broadcast(data: any): void; notify(data: any): void; _send(data: any): void; } import Protocol = require("./protocol"); import ClientConnection = require("../clientConnection");