/** * Copyright (c) 2025, Salesforce, Inc. * All rights reserved. * For full license text, see the LICENSE file or https://utam.dev/salesforce/license */ import { Driver as _Driver, Element as _Element, Locator as _Locator, UtamBasePageObject as _UtamBasePageObject } from '@utam/core'; import _ModalHeader from 'salesforce-pageobjects/lightning/pageObjects/modalHeader'; import _Button from 'salesforce-pageobjects/lightning/pageObjects/button'; /** * Selector: lightning-modal. * Represents the list view settings modal dialog. * Access the model body content. * generated from JSON dist/lists/confirmationModal.utam.json * @version 2026-03-09T13:56:36.318Z * @author Salesforce */ declare class ConfirmationModal extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Clicks the leave button to discard edits to the list and leave the list view * Waits for the confirm modal to disappear */ clickLeave(): Promise; /** * Clicks the stay button to remain on the current list view * Waits for the confirm modal to disappear */ clickStay(): Promise; getHeader(): Promise<_ModalHeader>; getLeaveButton(): Promise<_Button>; getStayButton(): Promise<_Button>; } export = ConfirmationModal;