import { AssetWrapper, MediaFileMetadata } from "@cygnus-reach/session"; /** * A notification reflecting an event occurring within a session that should be presented to the user, for example with a toast. * Generic typing is used to configure additional context that may be provided. */ export interface NotificationEvent | undefined = undefined> { /** * The severity of the event to the user. */ severity: NotificationEventSeverity; /** * A relatively short description (1-2 sentences) of the event from a user's perspective. * This description should be self-contained, not relying on the display of context to make the notification clear. */ description: string; /** * Additional context for the event for use in more complex notification systems. */ context: T; } export declare enum NotificationEventSeverity { Success = 0, Neutral = 1, Warning = 2, Error = 3 } export interface NotificationEventContext { /** * String-based key for the context category. */ category: string; /** * Relevant data to provide context for the notification. */ data: T; } export interface MediaNotificationEventContext extends NotificationEventContext[]> { category: "Media"; }