import { Notification, NotificationSettings, NotificationSeverity, NotificationStatus } from '@backstage/plugin-notifications-common'; /** @public */ export declare const notificationsApiRef: import("@backstage/core-plugin-api").ApiRef; /** @public */ export type GetNotificationsCommonOptions = { search?: string; read?: boolean; saved?: boolean; createdAfter?: Date; minimumSeverity?: NotificationSeverity; }; /** @public */ export type GetNotificationsOptions = GetNotificationsCommonOptions & { offset?: number; limit?: number; sort?: 'created' | 'topic' | 'origin'; sortOrder?: 'asc' | 'desc'; topic?: string; }; /** @public */ export type GetTopicsOptions = GetNotificationsCommonOptions; /** @public */ export type UpdateNotificationsOptions = { ids: string[]; read?: boolean; saved?: boolean; }; /** @public */ export type GetNotificationsResponse = { notifications: Notification[]; totalCount: number; }; /** @public */ export type GetTopicsResponse = { topics: string[]; }; /** @public */ export interface NotificationsApi { getNotifications(options?: GetNotificationsOptions): Promise; getNotification(id: string): Promise; getStatus(): Promise; updateNotifications(options: UpdateNotificationsOptions): Promise; getNotificationSettings(): Promise; updateNotificationSettings(settings: NotificationSettings): Promise; getTopics(options?: GetTopicsOptions): Promise; }