/** * 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, BaseUtamElement as _BaseUtamElement, UtamBasePageObject as _UtamBasePageObject } from '@utam/core'; import _ModalHeader from 'salesforce-pageobjects/lightning/pageObjects/modalHeader'; import _ModalBody from 'salesforce-pageobjects/lightning/pageObjects/modalBody'; import _Button from 'salesforce-pageobjects/lightning/pageObjects/button'; /** * Component that represents a modal dialog for resetting a session with cancel and reset actions. * Selector: src-reset-session-modal * generated from JSON dist/runtime_copilot/resetSessionModal.utam.json * @version 2026-03-09T13:56:37.205Z * @author Salesforce */ export default class ResetSessionModal extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check if the modal container is visible * @return boolean */ isModalVisible(): Promise; /** * Represents the header of the modal dialog */ getModalHeader(): Promise<_ModalHeader>; /** * Represents the body of the modal dialog containing the content text */ getModalBody(): Promise<_ModalBody>; /** * Represents the footer of the modal dialog containing action buttons */ getModalFooter(): Promise<(_BaseUtamElement)>; /** * Represents the cancel button in the modal footer */ getCancelButton(): Promise<_Button>; /** * Represents the reset button in the modal footer */ getResetButton(): Promise<_Button>; }