/** * 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, ActionableUtamElement as _ActionableUtamElement, ClickableUtamElement as _ClickableUtamElement, UtamBasePageObject as _UtamBasePageObject } from '@utam/core'; import _Icon from 'salesforce-pageobjects/lightning/pageObjects/icon'; /** * Component that displays an error notification with optional links for learning more or retrying an action. * Selector: app_dev_agent-error-notification * generated from JSON dist/app_dev_agent/errorNotification.utam.json * @version 2026-03-09T13:56:34.858Z * @author Salesforce */ declare class ErrorNotification extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check if the error notification container is visible * @return boolean */ isErrorNotificationVisible(): Promise; /** * Retrieve the text of the notification title * @return string */ getErrorNotificationTitle(): Promise; /** * Retrieve the text of the notification description * @return string */ getErrorNotificationDescription(): Promise; /** * Click the 'Learn More' link if it's visible */ clickLearnMoreLink(): Promise; /** * Click the 'Retry' link if it's visible */ clickRetryLink(): Promise; /** * Returns true if element "titleText" present on the page * @return boolean */ verifyTitleTextPresence(): Promise; /** * Returns true if element "learnMoreLink" present on the page * @return boolean */ verifyLearnMoreLinkPresence(): Promise; /** * Returns true if element "retryLink" present on the page * @return boolean */ verifyRetryLinkPresence(): Promise; /** * Returns true if element "descriptionText" present on the page * @return boolean */ verifyDescriptionTextPresence(): Promise; /** * Represents the error icon in the notification */ getErrorIcon(): Promise<_Icon>; } export = ErrorNotification;