import type { Notification } from '../../platform/tui/protocol.js'; export interface NotificationEntry { id: string; kind: 'project-report' | 'system-notice' | 'thread-report'; projectId: string; sessionId?: string | null; title: string; body: string; ts: number; read: boolean; } export interface NotifState { notifications: Map; ids: string[]; unreadCount: number; } export declare const EMPTY_NOTIF_STATE: NotifState; export declare function _addNotification(prev: NotifState, frame: Notification): NotifState; export declare function _markRead(prev: NotifState, notificationId: string): NotifState; export declare function _clearNotifications(): NotifState; export declare function useNotifications(): { notifications: Map; ids: string[]; unreadCount: number; add: (frame: Notification) => void; markRead: (id: string) => void; clear: () => void; };