import { Long } from 'bson' ; import { Chatlog } from './chat' ; /**
 * Update or add chat to store
 */ export interface ChatListUpdater { param chat addChat ( ... chat ) : Promise < void > ; param logId param chat updateChat ( logId , chat ) : Promise < void > ; param logId removeChat ( logId ) : Promise < boolean > ; }