/** * 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, ContainerCtor as _ContainerCtor, UtamBasePageObject as _UtamBasePageObject, BaseUtamElement as _BaseUtamElement } from '@utam/core'; /** * Component that displays a message, with the ability to align the text left or right. It accepts either a string message content or custom content through a slot. * Selector: src-message-text * generated from JSON dist/feeds/chat/messageText.utam.json * @version 2026-03-09T13:56:35.666Z * @author Salesforce */ export default class MessageText extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check if the message container is visible * @return boolean */ isMessageContainerVisible(): Promise; /** * Retrieve the text content of the message * @return string */ getMessageContent(): Promise; /** * Check if the message content is present * @return boolean */ isMessageContentPresent(): Promise; /** * Returns true if element "messageContainer" present on the page * @return boolean */ verifyMessageContainerPresence(): Promise; /** * Returns true if element "messageContent" present on the page * @return boolean */ verifyMessageContentPresence(): Promise; /** * Represents the default slot for custom content. */ getDefaultSlotContent(ContainerCtor: _ContainerCtor): Promise; }