import { handleEvent } from "../../interfaces/handleEvent" ; import { MessageSummary } from "@bitlink/common" ; import ChatStoreService from "../../services/ChatStoreService" ; interface handleDeleteMessageParam { messageSummary : MessageSummary ; } export const handleDeleteMessage = ( { messageSummary } , cb ) => { ChatStoreService . removeMessage ( messageSummary . id ) ; } ;