export declare const PRESENCE_EVENT = "com.matrixsheets.presence"; export declare const PRESENCE_TIMEOUT_MS: number; export interface PresenceContent { roomId: string; focus: string | null; timestamp: number; user: { id: string; name: string; color: string; }; } export interface PresenceUpdate { userId: string; name: string; color: string; focus: string | null; timestamp: number; } export interface RemotePresence { userId: string; name: string; color: string; focus: string; } export interface ToDeviceEvent { type: string; content: unknown; } export declare function isPresenceContent(value: unknown): value is PresenceContent; export declare function applyPresenceUpdates(current: RemotePresence[], updates: PresenceUpdate[]): RemotePresence[]; export declare function filterRelevantPresenceEvents(events: ToDeviceEvent[], options: { roomId: string; localUserId: string | null; }): PresenceUpdate[]; //# sourceMappingURL=presence.d.ts.map