/** * 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, UtamBasePageObject as _UtamBasePageObject } from '@utam/core'; import _ViewRecordListInternal from 'salesforce-pageobjects/feeds/chat/pageObjects/viewRecordListInternal'; /** * Component that conditionally displays an error UI with an illustration and message or a record list depending on the state of the data retrieval. * Selector: src-record-table * generated from JSON dist/feeds/chat/recordTable.utam.json * @version 2026-03-09T13:56:35.681Z * @author Salesforce */ export default class RecordTable extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check if the error container is present and 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 and visible * @return boolean */ isPageHeaderVisible(): Promise; /** * Get the title text from the page header * @return string */ getPageHeaderTitle(): 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 "errorIllustration" present on the page * @return boolean */ verifyErrorIllustrationPresence(): Promise; waitForErrorContainer(): Promise<(_BaseUtamElement)>; waitForErrorIllustration(): Promise<(_BaseUtamElement)>; waitForErrorHeading(): Promise<(_BaseUtamElement)>; waitForErrorDescription(): Promise<(_BaseUtamElement)>; waitForRecordListInternal(): Promise<_ViewRecordListInternal>; /** * Represents the internal component for displaying the list of records. */ getRecordListInternal(): Promise<_ViewRecordListInternal | null>; }