/** * 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'; import _BaseTooltipButton from 'salesforce-pageobjects/feeds/chat/pageObjects/baseTooltipButton'; import _BaseButtonIcon from 'salesforce-pageobjects/feeds/chat/pageObjects/baseButtonIcon'; import _BaseIcon from 'salesforce-pageobjects/feeds/chat/pageObjects/baseIcon'; /** * Component that displays a disclaimer with a tooltip button and a message. It allows the tooltip to be opened and closed, and the disclaimer message to be shown based on the variant. * Selector: src-base-disclaimer * generated from JSON dist/feeds/chat/baseDisclaimer.utam.json * @version 2026-03-09T13:56:35.614Z * @author Salesforce */ export default class BaseDisclaimer extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check if the popover section is visible * @return boolean */ isPopoverSectionVisible(): Promise; /** * Check if the message container is visible * @return boolean */ isMessageContainerVisible(): Promise; /** * Represents the button that shows the disclaimer tooltip. */ getDisclaimerButton(): Promise<_BaseTooltipButton>; /** * Represents the content of the named slot within the disclaimer tooltip button. */ getDisclaimerContent(ContainerCtor: _ContainerCtor): Promise; /** * Represents the rich text content within the popover. */ getFormattedRichText(): Promise<(_BaseUtamElement)>; /** * Represents the close button within the popover. */ getCloseButton(): Promise<_BaseButtonIcon>; /** * Represents the icon within the disclaimer message area. */ getMessageIcon(): Promise<_BaseIcon>; /** * Represents the rich text content within the message container. */ getMessageFormattedText(): Promise<(_BaseUtamElement)>; }