import { Serializable } from "@js-soft/ts-serval"; import { INotification, Notification } from "@nmshd/content"; import { CoreAddress, CoreDate, CoreId, ICoreAddress, ICoreDate, ICoreId } from "@nmshd/core-types"; import { CoreSynchronizable, ICoreSynchronizable } from "@nmshd/transport"; import { ILocalNotificationSource, LocalNotificationSource } from "./LocalNotificationSource"; export declare enum LocalNotificationStatus { Open = "Open", Sent = "Sent", Completed = "Completed", Error = "Error" } export interface ILocalNotification extends ICoreSynchronizable { isOwn: boolean; peer: ICoreAddress; createdAt: ICoreDate; receivedByDevice?: ICoreId; content: INotification; status: LocalNotificationStatus; source: ILocalNotificationSource; } export declare class LocalNotification extends CoreSynchronizable implements ILocalNotification { readonly technicalProperties: string[]; readonly userdataProperties: string[]; isOwn: boolean; peer: CoreAddress; createdAt: CoreDate; receivedByDevice?: CoreId; content: Notification; status: LocalNotificationStatus; source: LocalNotificationSource; protected static postFrom(value: T): T; static from(value: ILocalNotification): LocalNotification; } //# sourceMappingURL=LocalNotification.d.ts.map