import * as socketIo from 'socket.io-client' ; export const UPDATE_EVENT = 'updateStatus' ; export default interface ISocketIOModel { Iinitialize ( ) : void ; getIO ( ) : socketIo . Socket | null ; onUpdateState ( callback ) : void ; offUpdateState ( callback ) : void ; onUpdateEncodeState ( callback ) : void ; offUpdateEncodeState ( callback ) : void ; }