import type { LiveReviewPollResult, LiveReviewUpdate } from './live-contract.js'; export interface LiveReviewPublisher { publish(update: LiveReviewUpdate): void; } export declare class LiveReviewHub { private readonly now; private readonly watchers; private readonly retained; constructor(now?: () => number); hasState(sessionId: string): boolean; restore(updates: readonly LiveReviewUpdate[]): boolean; open(sessionId: string, watcherId: string, replay?: boolean): void; poll(sessionId: string, watcherId: string): LiveReviewPollResult; close(sessionId: string, watcherId: string): void; publish(update: LiveReviewUpdate): void; clear(): void; private retain; private pruneWatchers; private evictOldestWatcher; private evictOldestReview; }