/** * Thread changes pushed from the server, handed from the editor's socket to * whoever keeps the thread caches. The socket is owned by the provider, and the * caches live below the query provider it renders, so the two meet through a store * rather than a prop. Reconnecting is announced too, since anything posted while * the socket was down was never pushed. */ import type { ThreadEvent } from '@pantheon-systems/css-client'; type EventListener = (event: ThreadEvent) => void; type ReconnectListener = () => void; export declare function subscribeToThreadEvents(onEvent: EventListener): () => void; export declare function publishThreadEvent(event: ThreadEvent): void; export declare function subscribeToThreadsReconnect(onReconnect: ReconnectListener): () => void; export declare function publishThreadsReconnect(): void; export {};