1 import type { ClientMessageWithDocumentUpdates, DocumentUpdate, ServerMessageWithMessageAcks } from '@proton/docs-proto'
3 export interface AckLedgerInterface {
4 messagePosted(message: ClientMessageWithDocumentUpdates): void
5 messageAcknowledgementReceived(message: ServerMessageWithMessageAcks): void
7 hasConcerningMessages(): boolean
8 hasErroredMessages(): boolean
9 getUnacknowledgedUpdates(): DocumentUpdate[]