/** * 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, ActionableUtamElement as _ActionableUtamElement, ClickableUtamElement as _ClickableUtamElement } from '@utam/core'; /** * Component that displays a panel header with optional back icon, title text, and slots for help text, warnings, and actions. * Selector: src-panel-header * generated from JSON dist/ui/chatbots/components/panelHeader.utam.json * @version 2026-03-09T13:56:37.155Z * @author Salesforce */ export default class PanelHeader extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Clicks the back button if it is present */ clickBackButton(): Promise; /** * Returns the text of the header title * @return string */ getHeaderText(): Promise; /** * Checks if the back button is visible * @return boolean */ isBackButtonVisible(): Promise; /** * Checks if the header title is visible * @return boolean */ isHeaderTextVisible(): Promise; /** * Returns true if element "backButton" present on the page * @return boolean */ verifyBackButtonPresence(): Promise; /** * Represents the content of the help text slot */ getHelpTextContent(ContainerCtor: _ContainerCtor): Promise; /** * Represents the content of the warning slot */ getWarningContent(ContainerCtor: _ContainerCtor): Promise; /** * Represents the content of the actions slot */ getActionsContent(ContainerCtor: _ContainerCtor): Promise; }