/** * 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, UtamBaseRootPageObject as _UtamBaseRootPageObject } from '@utam/core'; import _BaseFormModal from 'salesforce-pageobjects/ui/chatbots/components/pageObjects/baseFormModal'; import _Datatable from 'salesforce-pageobjects/lightning/pageObjects/datatable'; /** * This component is a modal that presents a confirmation dialog for deleting a Copilot version. It displays a message to the user and a data table listing the potential impacts of the deletion. The modal has two buttons, one to confirm the deletion and another to cancel the operation. * Selector: src-modal-delete-copilot * generated from JSON dist/ui/chatbots/components/modalDeleteCopilot.utam.json * @version 2026-03-09T13:56:37.152Z * @author Salesforce */ export default class ModalDeleteCopilot extends _UtamBaseRootPageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Get the text content of the delete message * @return string */ getDeleteMessageText(): Promise; /** * Represents the base form modal for the delete confirmation */ getBaseFormModal(): Promise<_BaseFormModal>; /** * Represents the data table listing the impacts of deletion */ getDataTable(): Promise<_Datatable>; }