/** * 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, UtamBasePageObject as _UtamBasePageObject } from '@utam/core'; import _Tooltip from 'salesforce-pageobjects/ui/chatbots/components/pageObjects/tooltip'; /** * Component that represents a navigation button with a tooltip, which can be used in a vertical navigation rail. * Selector: src-left-rail-tab-item-button * generated from JSON dist/ui/chatbots/components/leftRailTabItemButton.utam.json * @version 2026-03-09T13:56:37.146Z * @author Salesforce */ declare class LeftRailTabItemButton extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Simulate a click on the navigation button * @param selectorStr CSS selector parameter */ clickNavButton(selectorStr: string): Promise; /** * Retrieve the text from the button label * @return string * @param selectorStr CSS selector parameter */ getButtonText(selectorStr: string): Promise; /** * Check if the navigation button is visible * @return boolean * @param selectorStr CSS selector parameter */ isNavButtonVisible(selectorStr: string): Promise; /** * Check if the navigation button is enabled * @return boolean * @param selectorStr CSS selector parameter */ isNavButtonEnabled(selectorStr: string): Promise; /** * @param selectorStr CSS selector parameter */ waitForTooltip(selectorStr: string): Promise<_Tooltip>; /** * @param selectorStr CSS selector parameter */ waitForButtonContent(selectorStr: string): Promise<(_BaseUtamElement & _ActionableUtamElement & _ClickableUtamElement)>; /** * @param selectorStr CSS selector parameter */ waitForButtonText(selectorStr: string): Promise<(_BaseUtamElement)>; getLightningButton(): Promise<(_BaseUtamElement & _ClickableUtamElement)>; /** * Represents the tooltip component associated with the button * @param selectorStr CSS selector parameter */ getTooltip(selectorStr: string): Promise<_Tooltip>; } export = LeftRailTabItemButton;