/** * 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, UtamBaseRootPageObject as _UtamBaseRootPageObject } from '@utam/core'; import _ViewRecordListInternal from 'salesforce-pageobjects/runtime_copilot_base/pageObjects/viewRecordListInternal'; import _RecordHeader from 'salesforce-pageobjects/runtime_copilot_base/pageObjects/recordHeader'; /** * A component that displays a list of records in a table format with an optional error UI if there is an issue retrieving the records. It includes a header with the list view title and an icon. * Selector: src-record-table * generated from JSON dist/runtime_copilot_base/recordTable.utam.json * @version 2026-03-09T13:56:37.321Z * @author Salesforce */ declare class RecordTable extends _UtamBaseRootPageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check if the error container is visible * @return boolean */ isErrorContainerVisible(): Promise; /** * Get the text of the error heading * @return string */ getErrorHeadingText(): Promise; /** * Get the text of the error description * @return string */ getErrorDescriptionText(): Promise; /** * Check if the page header is present * @return boolean */ isPageHeaderPresent(): Promise; /** * Returns true if element "errorContainer" present on the page * @return boolean */ verifyErrorContainerPresence(): Promise; /** * Returns true if element "pageHeader" present on the page * @return boolean */ verifyPageHeaderPresence(): Promise; /** * Returns true if element "errorImage" present on the page * @return boolean */ verifyErrorImagePresence(): Promise; /** * Returns true if element "errorHeading" present on the page * @return boolean */ verifyErrorHeadingPresence(): Promise; /** * Returns true if element "errorDescription" present on the page * @return boolean */ verifyErrorDescriptionPresence(): Promise; waitForRecordListInternal(): Promise<_ViewRecordListInternal>; /** * Represents the record header component with title and icon. */ getRecordHeader(): Promise<_RecordHeader | null>; /** * Represents the internal component that displays the list of records. */ getRecordListInternal(): Promise<_ViewRecordListInternal | null>; } export = RecordTable;