import type { NotificationCategories, NotificationCategory, NotificationEntry, NotificationTitlePart, NotificationZoneKey } from "./NotificationSourceProps"; import type { LiveNotificationEntry, NotificationFormatter, NotificationGroup, NotificationThread } from "./NotificationEngineProps"; export declare const OTHER_CATEGORY_KEY = "__other"; export declare const plainTitle: (parts: NotificationTitlePart[]) => string; export declare const findCategory: (categories: NotificationCategories, key: string) => NotificationCategory | undefined; export declare const zoneFor: (entry: Pick, categories: NotificationCategories) => NotificationZoneKey; export declare const byNewest: (a: LiveNotificationEntry, b: LiveNotificationEntry) => number; export declare const matchesNotificationQuery: (entry: NotificationEntry, query: string) => boolean; export declare const threadify: (items: LiveNotificationEntry[]) => NotificationThread[]; export declare const threadEntries: (thread: NotificationThread) => LiveNotificationEntry[]; export declare const threadIds: (thread: NotificationThread) => string[]; export declare const threadHasUnread: (thread: NotificationThread) => boolean; export declare const groupByCategory: (items: LiveNotificationEntry[], categories: NotificationCategories, otherLabel: string) => NotificationGroup[]; export declare const groupByDay: (items: LiveNotificationEntry[], format: NotificationFormatter, now: number) => NotificationGroup[];