import { ISerializable, Serializable } from "@js-soft/ts-serval"; import { CoreAddress, CoreDate, CoreId, ICoreId } from "@nmshd/core-types"; import { AnnouncementAction, IAnnouncementAction } from "./AnnouncementAction"; export interface IAnnouncement extends ISerializable { id: ICoreId; createdAt: CoreAddress; expiresAt?: CoreDate; severity: AnnouncementSeverity; title: string; body: string; iqlQuery?: string; actions: IAnnouncementAction[]; } export declare enum AnnouncementSeverity { Low = "Low", Medium = "Medium", High = "High" } export declare class Announcement extends Serializable implements IAnnouncement { id: CoreId; createdAt: CoreAddress; expiresAt?: CoreDate; severity: AnnouncementSeverity; title: string; body: string; iqlQuery?: string; actions: AnnouncementAction[]; static from(value: IAnnouncement): Announcement; } //# sourceMappingURL=Announcement.d.ts.map