import { Notification, NotificationType } from './Notification.js'; import { BasePage, IPageDecorator } from '../utils.js'; import { NotificationsCenter as NotificationsCenterLocator } from '../../locators/1.73.0.js'; export interface NotificationsCenter extends IPageDecorator { } /** * Notifications center page object * * @category Workbench */ export declare class NotificationsCenter extends BasePage { /** * @private */ locatorKey: "NotificationsCenter"; /** * 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; } //# sourceMappingURL=NotificationsCenter.d.ts.map