/** * 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, UtamBaseRootPageObject as _UtamBaseRootPageObject, ClickableUtamElement as _ClickableUtamElement, ActionableUtamElement as _ActionableUtamElement, EditableUtamElement as _EditableUtamElement } from '@utam/core'; import _SystemMessage from 'salesforce-pageobjects/global/pageObjects/systemMessage'; import _UserProfileCardTrigger from 'salesforce-pageobjects/global/pageObjects/userProfileCardTrigger'; import _MenuList from 'salesforce-pageobjects/aura/pageObjects/menuList'; /** * Selector: .oneHeader. * Represents the one:header Aura component. * Access the system message, global actions list, trailhead trigger, notifications button, notifications count, favorites list, add to favorites button, profile link, setup menu, search, or back button. * generated from JSON dist/global/header.utam.json * @version 2026-03-09T13:56:35.932Z * @author Salesforce */ export default class Header extends _UtamBaseRootPageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Click the add to favorite button * @return none */ addToFavorites(): Promise; /** * Click the favorites list button * @return none */ getFavoriteList(): Promise; /** * Click the notifications button * @return none */ showNotifications(): Promise; /** * Click the setup menu button * @return none */ showSetupMenu(): Promise; /** * Click to open the global actions list * @return none */ getGlobalActionsList(): Promise; /** * Get the notification count * @return the notification count */ getNotificationCount(): Promise; /** * Checks if there is a new notification * @return none */ hasNewNotification(): Promise; /** * Selects the search bar enters text to search and searches for the text * @return none */ getSearch(searchTerm: string): Promise; waitAndClickCoPilot(): Promise; getSystemMessage(): Promise<_SystemMessage>; getTrailHeadTrigger(): Promise<(_BaseUtamElement & _ClickableUtamElement)>; getProfile(): Promise<_UserProfileCardTrigger>; getSetupMenuList(): Promise<_MenuList>; getCopilot(): Promise<(_BaseUtamElement & _ActionableUtamElement & _ClickableUtamElement & _EditableUtamElement) | null>; getAgentExplorer(): Promise<(_BaseUtamElement & _ActionableUtamElement & _ClickableUtamElement & _EditableUtamElement) | null>; getLightningButtonIconStateful(): Promise<(_BaseUtamElement & _ActionableUtamElement & _ClickableUtamElement & _EditableUtamElement)[] | null>; getAllTooltipTriggers(): Promise<(_BaseUtamElement & _ActionableUtamElement & _ClickableUtamElement & _EditableUtamElement)[] | null>; }