/** * 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, UtamBasePageObject as _UtamBasePageObject } from '@utam/core'; import _Icon from 'salesforce-pageobjects/lightning/pageObjects/icon'; /** * The component represents a clickable item in a left rail navigation panel that, when clicked, triggers navigation to a main view or a sub-view associated with the item. * generated from JSON dist/ui/chatbots/components/leftRailItem.utam.json * @version 2026-03-09T13:56:37.144Z * @author Salesforce */ export default class LeftRailItem extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Simulate a mouse click action on the left rail item */ clickLeftRailItem(): Promise; /** * Return the text of the left rail item label * @return string */ getLeftRailItemText(): Promise; /** * Check if the left rail item is visible * @return boolean */ isLeftRailItemVisible(): Promise; /** * Check if the left rail item is enabled * @return boolean */ isLeftRailItemEnabled(): Promise; /** * Returns true if element "itemLabel" present on the page * @return boolean */ verifyItemLabelPresence(): Promise; /** * Represents an optional icon associated with the left rail item. */ getIconElement(): Promise<_Icon | null>; }