/** * 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 _FormattedRichText from 'salesforce-pageobjects/lightning/pageObjects/formattedRichText'; /** * A modal component that prompts the user to confirm the deletion of a project. It displays a heading, a confirmation message, and two buttons: one to cancel the action and another to confirm the deletion. * Selector: dev_workspace-delete-project-modal * generated from JSON dist/dev/workspace/deleteProjectModal.utam.json * @version 2026-03-09T13:56:35.169Z * @author Salesforce */ export default class DeleteProjectModal extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Simulates a click on the cancel button */ clickCancelButton(): Promise; /** * Simulates a click on the delete button */ clickDeleteButton(): Promise; /** * Represents the header of the modal with the title. */ getModalHeader(): Promise<_ModalHeader>; /** * Represents the rich text formatted confirmation message. */ getRichConfirmationText(): Promise<_FormattedRichText>; }