import { type RefObject } from 'react'; interface Message { id: string; atMillis: number; } /** Read only committed, visible messages. Background fetches and hidden filters never acknowledge. */ export declare function useNotificationVisibleRead(rootRef: RefObject, items: readonly T[], enabled: boolean, acknowledge: (items: readonly T[], signal: AbortSignal) => Promise, contextKey: string): void; /** Keep a message anchor while history is prepended; follow incoming messages only at the bottom. */ export declare function useNotificationScroll(rootRef: RefObject, items: readonly Message[], viewKey: string): { newMessages: number; toLatest: () => void; onScroll: () => void; }; export {}; //# sourceMappingURL=use-notification-viewport.d.ts.map