export type Bytes = UInt8Array export type OnMessage = (clientID : string, message : Bytes) => any export interface RTMT{ sendMessage : (clientID : string, channel : string, message : Bytes) => any listenMessage : (channel : string, callback : OnMessage) => any }