import { AbstractElement } from "../AbstractElement"; import { Notification, NotificationType } from "./Notification"; /** * Notifications center page object */ export declare class NotificationsCenter extends AbstractElement { constructor(); /** * Close the notifications center * @returns Promise resolving when the center is closed */ close(): Promise; /** * Clear all notifications in the notifications center * Note that this will also hide the notifications center * @returns Promise resolving when the clear all button is pressed */ clearAllNotifications(): Promise; /** * Get all notifications of a given type * @param type type of the notifications to look for, * NotificationType.Any will retrieve all notifications * * @returns Promise resolving to array of Notification objects */ getNotifications(type: NotificationType): Promise; }