/** * 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 _ErrorNotification from 'salesforce-pageobjects/app_dev_agent/pageObjects/errorNotification'; import _EmptyState from 'salesforce-pageobjects/app_dev_agent/pageObjects/emptyState'; /** * Component that displays error notifications and an empty state message when an error occurs. * Selector: app_dev_agent-common-error * generated from JSON dist/app_dev_agent/commonError.utam.json * @version 2026-03-09T13:56:34.846Z * @author Salesforce */ declare class CommonError extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check that empty state container is present and visible * @return boolean */ isEmptyStateContainerVisible(): Promise; /** * Represents the error notification component with title, description, and optional retry action */ getErrorNotification(): Promise<_ErrorNotification>; /** * Represents the empty state component with heading, sub-heading, and optional image or content */ getEmptyState(): Promise<_EmptyState | null>; } export = CommonError;