import { ISerializable, Serializable } from "@js-soft/ts-serval"; import { CoreId, ICoreId } from "@nmshd/core-types"; import { INotificationItem, NotificationItem, NotificationItemJSON } from "./NotificationItem"; export interface NotificationJSON { "@type": "Notification"; id: string; /** * The items of the Notification. */ items: NotificationItemJSON[]; } export interface INotification extends ISerializable { id: ICoreId; /** * The items of the Notification. */ items: INotificationItem[]; } export declare class Notification extends Serializable implements INotification { id: CoreId; items: NotificationItem[]; static from(value: INotification): Notification; toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): NotificationJSON; } //# sourceMappingURL=Notification.d.ts.map