export type TurnStatus = 'idle' | 'processing' | 'unread' | 'awaiting_input';
/**
 * Event-driven global turn-status map.
 *
 * - On mount: ONE-SHOT GET /api/interactive/chat/turn-statuses to seed
 *   the initial snapshot. Replaces the old 2-second polling loop.
 * - After that: live updates via EventSource on
 *   /api/interactive/chat/turn-statuses/stream, which emits a
 *   `turn_status` event for every active session's turn transition.
 * - Robustness: the browser auto-reconnects EventSource on drops; on
 *   every successful (re)connect we re-run the snapshot fetch to catch
 *   any events missed during the downtime.
 *
 * No periodic polling. One request per page load plus one SSE
 * connection per tab.
 */
export declare function useAllTurnStatuses(): Record<string, TurnStatus>;
/**
 * Marks a feature's chat as read (clears 'unread' → 'idle').
 */
export declare function markChatRead(featureId: string): Promise<void>;
//# sourceMappingURL=use-turn-statuses.d.ts.map