/** * 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, ActionableUtamElement as _ActionableUtamElement, ClickableUtamElement as _ClickableUtamElement, UtamBaseRootPageObject as _UtamBaseRootPageObject } from '@utam/core'; /** * A navigation component that provides a vertical list of main navigation items, each potentially containing a submenu that can be expanded. It supports keyboard navigation and interaction through mouse clicks, and updates the selected state based on user interaction. * Selector: setup_platform_unifiedapp-salesforce-studio-navigation * generated from JSON dist/applications/salesforceStudioNavigation.utam.json * @version 2026-03-09T13:56:34.946Z * @author Salesforce */ export default class SalesforceStudioNavigation extends _UtamBaseRootPageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Click on a main navigation item */ clickMainNavItem(): Promise; /** * Click on the Home navigation item */ clickHome(): Promise; /** * Click on the Projects navigation item */ clickProjects(): Promise; /** * Click on the Changes navigation item */ clickChanges(): Promise; /** * Click on a navigation item by its ID */ clickNavItemById(dataId: string): Promise; /** * Click on a submenu item * @param _submenuSectionIndex index of parent element */ clickSubmenuItem(_submenuSectionIndex: number): Promise; /** * Get the text of a main navigation item * @return string[] */ getMainNavItemText(): Promise; /** * Check if a submenu section is visible * @return boolean[] * @param _submenuSectionIndex index of parent element */ isSubmenuSectionVisible(_submenuSectionIndex: number): Promise; /** * Check if the Salesforce Studio logo image is visible * @return boolean */ isStudioLogoImageVisible(): Promise; /** * Returns true if element "submenuSection" present on the page * @return boolean[] * @param _submenuSectionIndex index of parent element */ verifySubmenuSectionPresence(_submenuSectionIndex: number): Promise; /** * Check if a specific navigation item is visible by its ID * @return boolean */ isNavItemVisible(dataId: string): Promise; /** * Check if a specific navigation item is selected by its ID * This checks for the 'selected' class on the element * @return boolean */ isNavItemSelected(dataId: string): Promise; waitForMainNavItemLinks(): Promise<(_BaseUtamElement & _ActionableUtamElement & _ClickableUtamElement)[]>; getRoot(): Promise<(_BaseUtamElement)>; }