/** * 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 designed for accessibility, which allows screen readers to announce messages dynamically. It can handle keyboard navigation to move through messages and announce the latest message. * Selector: src-message-a-1-1y * generated from JSON dist/feeds/chat/messageA11y.utam.json * @version 2026-03-09T13:56:35.646Z * @author Salesforce */ export default class MessageA11y extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Retrieves the text content of the message that is announced to screen readers * @return string */ getMessageContentText(): Promise; /** * Checks if the message container is visible * @return boolean */ isMessageContainerVisible(): Promise; /** * Checks if there are any message blocks present * @return boolean[] */ areMessageBlocksPresent(): Promise; /** * Retrieves the text content of the last message block * @return string[] */ getLastMessageBlockText(): Promise; waitForMessageBlock(): Promise<(_BaseUtamElement)[]>; /** * Represents the default slot for content insertion. */ getDefaultSlot(ContainerCtor: _ContainerCtor): Promise; }