import { INotification } from 'rettiwt-core'; /** * The different types of notifications. * * @public */ export declare enum ENotificationType { RECOMMENDATION = "RECOMMENDATION", INFORMATION = "INFORMATION", LIVE = "LIVE", ALERT = "ALERT", UNDEFINED = "UNDEFINED" } /** * The details of a single notification. * * @public */ export declare class Notification { /** The list of id of the users from whom the notification was received. */ from: string[]; /** The id of the notification. */ id: string; /** The text contents of the notification. */ message: string; /** The date/time at which the notification was received. */ receivedAt: Date; /** The list of id of the target tweet(s) of the notification. */ target: string[]; /** The type of notification. */ type?: ENotificationType; /** * @param notification - The raw notification details. */ constructor(notification: INotification); /** * 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. * * @internal */ static list(response: NonNullable): Notification[]; }