import { NotificationItem } from './types.js'; export declare function prependIncoming(list: NotificationItem[], item: NotificationItem): NotificationItem[]; export declare function markReadIn(list: NotificationItem[], id: string): NotificationItem[]; export declare function removeIn(list: NotificationItem[], id: string): NotificationItem[]; export type NotificationsStatus = "loading" | "idle" | "error"; type UseNotificationsOptions = { endpoint: string; pollingInterval?: number | null; }; export type UseNotificationsReturn = { notifications: NotificationItem[]; unreadCount: number; status: NotificationsStatus; hasMore: boolean; open: boolean; setOpen: (open: boolean) => void; loadMore: () => void; markRead: (id: string) => void; markAllRead: () => void; dismiss: (id: string) => void; clearAll: () => void; receive: (item: NotificationItem) => void; }; export declare function useNotifications({ endpoint, pollingInterval, }: UseNotificationsOptions): UseNotificationsReturn; export {};