/** * 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, UtamBasePageObject as _UtamBasePageObject } from '@utam/core'; import _Icon from 'salesforce-pageobjects/lightning/pageObjects/icon'; import _CopilotDisclaimer from 'salesforce-pageobjects/feeds/chat/pageObjects/copilotDisclaimer'; import _ButtonIcon from 'salesforce-pageobjects/lightning/pageObjects/buttonIcon'; /** * A header component for a chat interface that can optionally be closed, displays a title, a description, and includes a disclaimer and an icon. * Selector: src-header * generated from JSON dist/feeds/chat/header.utam.json * @version 2026-03-09T13:56:35.640Z * @author Salesforce */ export default class Header extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Get the text of the header title * @return string */ getHeaderTitleText(): Promise; /** * Get the text of the chat subtitle * @return string */ getChatSubtitleText(): Promise; /** * Represents the Einstein icon in the header */ getEinsteinIcon(): Promise<_Icon>; /** * Represents the disclaimer component in the header */ getChatDisclaimer(): Promise<_CopilotDisclaimer>; /** * Represents the close button of the header */ getCloseButton(): Promise<_ButtonIcon | null>; }