/** * 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 _ViewComponent from 'salesforce-pageobjects/feeds/chat/pageObjects/viewComponent'; /** * A component that visually represents a typing message with stars and an optional action region where actions can be executed. * Selector: src-message-waiting * generated from JSON dist/feeds/chat/messageWaiting.utam.json * @version 2026-03-09T13:56:35.669Z * @author Salesforce */ export default class MessageWaiting extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Get the title attribute from the welcome container * @return string */ getWelcomeContainerTitle(): Promise; /** * Get the text content from the typing text element * @return string */ getTypingText(): Promise; /** * Check if the assistive text is present and visible * @return boolean */ isAssistiveTextVisible(): Promise; /** * Check if the status typing footer is visible * @return boolean */ isStatusTypingFooterVisible(): Promise; /** * Returns true if element "star1" present on the page * @return boolean */ verifyStar1Presence(): Promise; /** * Returns true if element "star2" present on the page * @return boolean */ verifyStar2Presence(): Promise; /** * Returns true if element "star3" present on the page * @return boolean */ verifyStar3Presence(): Promise; /** * Returns true if element "assistiveText" present on the page * @return boolean */ verifyAssistiveTextPresence(): Promise; /** * Represents the chat view component that handles action clicks. */ getChatViewComponent(): Promise<_ViewComponent | null>; }