1 import type { Observable } from 'lib0/observable'
2 import type { Doc } from 'yjs'
3 import type { DocsAwareness } from './DocsAwareness'
4 import type { RtsMessagePayload } from './RtsMessagePayload'
6 export interface DocStateInterface extends Observable<string> {
7 receiveMessage(message: RtsMessagePayload): void
8 getDocState(): Uint8Array
9 performOpeningCeremony(): void
10 performClosingCeremony(): void
14 awareness: DocsAwareness