/** * 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 _BaseIcon from 'salesforce-pageobjects/runtime_copilot_base/pageObjects/baseIcon'; /** * A component that displays an error message with an icon and provides a refresh link to reload the page. * Selector: src-message-error * generated from JSON dist/runtime_copilot_base/messageError.utam.json * @version 2026-03-09T13:56:37.287Z * @author Salesforce */ export default class MessageError extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Simulates a click action on the refresh link */ clickRefreshLink(): Promise; /** * Retrieves the text of the status message * @return string */ getStatusMessageText(): Promise; /** * Checks if the status container is visible * @return boolean */ isStatusContainerVisible(): Promise; /** * Checks if the refresh link is visible * @return boolean */ isRefreshLinkVisible(): Promise; /** * Represents the icon indicating the error status */ getStatusIcon(): Promise<_BaseIcon>; }