import { ENotificationType } from '../../enums/Notification'; import { INotification } from '../../types/data/Notification'; import { INotification as IRawNotification } from '../../types/raw/base/Notification'; /** * The details of a single notification. * * @public */ export declare class Notification implements INotification { from: string[]; id: string; message: string; receivedAt: string; target: string[]; type?: ENotificationType; /** * @param notification - The raw notification details. */ constructor(notification: IRawNotification); /** * Extracts and deserializes the list of notifications from the given raw response data. * * @param response - The raw response data. * * @returns The deserialized list of notifications. */ static list(response: NonNullable): Notification[]; /** * @returns A serializable JSON representation of `this` object. */ toJSON(): INotification; }