/** * 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/runtime_copilot_base/pageObjects/viewComponent'; /** * Component that presents a typing animation with messages and allows interaction with actions. * Selector: src-status-typing * generated from JSON dist/runtime_copilot_base/statusTyping.utam.json * @version 2026-03-09T13:56:37.337Z * @author Salesforce */ export default class StatusTyping extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Checks if the status container is visible * @return boolean */ getStatusContainerVisibility(): Promise; /** * Retrieves the text of a specific typing step * @return string[] */ getTypingStepText(): Promise; /** * Checks if the checkmark container is present * @return boolean * @param index element index starting from 1 */ isCheckmarkContainerPresent(index: number): Promise; /** * Checks if the star container is visible * @return boolean * @param index element index starting from 1 */ isStarContainerVisible(index: number): Promise; /** * Retrieves the assistive text for accessibility * @return string * @param index element index starting from 1 */ getAssistiveText(index: number): Promise; /** * Checks if the status footer is visible * @return boolean */ getStatusFooterVisibility(): Promise; /** * Returns true if element "typingMessage" present on the page * @return boolean * @param index element index starting from 1 */ verifyTypingMessagePresence(index: number): Promise; /** * Returns true if element "checkmarkContainer" present on the page * @return boolean * @param index element index starting from 1 */ verifyCheckmarkContainerPresence(index: number): Promise; /** * Returns true if element "starContainer" present on the page * @return boolean * @param index element index starting from 1 */ verifyStarContainerPresence(index: number): Promise; /** * Returns true if element "assistiveTextElement" present on the page * @return boolean * @param index element index starting from 1 */ verifyAssistiveTextElementPresence(index: number): Promise; /** * Returns true if element "typingStepByIndex" present on the page * @return boolean * @param index element index starting from 1 */ verifyTypingStepByIndexPresence(index: number): Promise; waitForActionComponent(): Promise<_ViewComponent>; /** * Represents the action component that can be interacted with */ getActionComponent(): Promise<_ViewComponent | null>; }