import { AcApNotification, AcApNotificationAction, AcApNotificationGroup, AcApNotificationSource } from '@mlightcad/cad-simple-viewer'; /** * @deprecated Prefer {@link AcApNotificationSource} from cad-simple-viewer. */ export type NotificationSource = AcApNotificationSource; /** @deprecated Prefer {@link ACAP_GROUPABLE_NOTIFICATION_SOURCES}. */ export declare const GROUPABLE_NOTIFICATION_SOURCES: readonly AcApNotificationSource[]; /** * Vue notification entry. Structurally compatible with {@link AcApNotification}. */ export type Notification = AcApNotification; export type NotificationGroup = AcApNotificationGroup; export type NotificationAction = AcApNotificationAction; /** * Groups notifications for the Vue notification center panel. */ export declare function groupNotifications(notifications: Notification[]): NotificationGroup[]; /** * Composable that exposes the Vue notification center used by cad-viewer UI. * * Registered as the host override via {@link registerCadViewerNotificationCenter} * so the shared cad-simple-viewer event bridge writes into this store. */ export declare function useNotificationCenter(): { notifications: import('vue').ComputedRef; unreadCount: import('vue').ComputedRef; hasNotifications: import('vue').ComputedRef; setActiveSession: (sessionId: string | null) => void; clearSession: (sessionId: string) => void; dispose: () => void; add: (notification: Omit) => string; remove: (id: string) => void; clear: () => void; clearAll: () => void; removeWhere: (predicate: (notification: Notification) => boolean) => void; removeBySource: (source: NotificationSource) => void; removeResolvedFontMissedNotifications: (missedFontNames: Iterable) => void; info: (title: string, message?: string, options?: Partial) => string; warning: (title: string, message?: string, options?: Partial) => string; error: (title: string, message?: string, options?: Partial) => string; success: (title: string, message?: string, options?: Partial) => string; }; //# sourceMappingURL=useNotificationCenter.d.ts.map