/** * 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 _Icon from 'salesforce-pageobjects/lightning/pageObjects/icon'; import _ButtonMenu from 'salesforce-pageobjects/lightning/pageObjects/buttonMenu'; import _MenuItem from 'salesforce-pageobjects/lightning/pageObjects/menuItem'; import _ButtonIcon from 'salesforce-pageobjects/lightning/pageObjects/buttonIcon'; /** * Component that displays a page header with an icon and text. * Selector: setup-agentic-chat-header * generated from JSON dist/setup/agenticSetupChatHeader.utam.json * @version 2026-03-09T13:56:36.966Z * @author Salesforce */ export default class AgenticSetupChatHeader extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check if the page header container is present and visible * @return boolean */ isPageHeaderVisible(): Promise; /** * Check that header text is present and visible * @return boolean */ isHeaderTextVisible(): Promise; /** * Get text from the header * @return string */ getHeaderText(): Promise; /** * Check if the header topic text is present * @return boolean */ isHeaderTextPresent(): Promise; /** * Check that collapse button is present and visible * @return boolean */ isCollapseButtonVisible(): Promise; /** * Check that renditions menu is present and visible * @return boolean */ isRenditionsMenuVisible(): Promise; /** * Represents the lightning icon with a class of "topic-icon" */ getTopicIcon(): Promise<_Icon>; /** * Represents the button menu for expandable renditions. */ getRenditionsMenu(): Promise<_ButtonMenu | null>; /** * Represents the subheader within the renditions menu. */ getRenditionsMenuSubheader(): Promise<(_BaseUtamElement) | null>; /** * Represents the menu items for each expandable rendition. */ getRenditionsMenuItems(): Promise<_MenuItem[] | null>; /** * Represents the button for collapsing the drill-in view. */ getCollapseDrillIn(): Promise<_ButtonIcon | null>; }