import { IPageDecorator, BasePage } from '../utils.js'; import { Dialog as DialogLocators } from '../../locators/1.73.0.js'; export interface ModalDialog extends IPageDecorator { } /** * Page Object for Custom Style Modal Dialogs (non-native) * * @category Dialog */ export declare class ModalDialog extends BasePage { /** * @private */ locatorKey: "Dialog"; /** * Get the dialog's message in a Promise */ getMessage(): Promise; /** * Get the details message in a Promise */ getDetails(): Promise; /** * Get the list of buttons as WebElements * * @returns Promise resolving to Array of WebElement items representing the buttons */ getButtons(): Promise; /** * Push a button with given title if it exists * * @param title title/text of the button */ pushButton(title: string): Promise; /** * Close the dialog using the 'cross' button */ close(): Promise; } //# sourceMappingURL=ModalDialog.d.ts.map