export type SessionListInvalidation = { workspaceId: string; sessionId: string; archived?: boolean | undefined; }; /** * Tell other mounted session-list consumers that a confirmed mutation changed * whether one root belongs in their current projection. Durable server state * remains authoritative; this is only a same-tab prompt to re-read it. */ export declare function notifySessionListChanged(invalidation: SessionListInvalidation): void; export declare function subscribeToSessionListChanges(listener: (invalidation: SessionListInvalidation) => void): () => void; export declare function subscribeToWorkspaceSessionListChanges(workspaceId: string, listener: (invalidation: SessionListInvalidation) => void): () => void;