import { Notification } from '@backstage/plugin-notifications-common'; /** * @public */ export interface NotificationProcessor { /** * Decorate notification before sending it * * @param notification - The notification to decorate * @returns The same notification or a modified version of it */ decorate?(notification: Notification): Promise; /** * Send notification using this processor. * * @param notification - The notification to send */ send?(notification: Notification): Promise; } /** * @public */ export interface NotificationsProcessingExtensionPoint { addProcessor(...processors: Array>): void; } /** * @public */ export declare const notificationsProcessingExtensionPoint: import("@backstage/backend-plugin-api").ExtensionPoint;