import { Long } from 'bson' ; import { ChannelUser } from '../user' ; /**
 * Update channel data
 */ export interface ChannelDataUpdater < T , U > { param info updateInfo ( info ) : void ; /**
     * Set channel info
     */ setInfo ( info ) : void ; param user updateUserInfo ( user , info ) : void ; param user removeUser ( user ) : boolean ; /**
     * Clear all user info
     */ clearUserList ( ) : void ; param readerId updateWatermark ( readerId , watermark ? ) : void ; /**
     * Clear all watermark
     */ clearWatermark ( ) : void ; }