/** * 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, ContainerCtor as _ContainerCtor, UtamBasePageObject as _UtamBasePageObject, BaseUtamElement as _BaseUtamElement } from '@utam/core'; import _LeftRailTabItemButton from 'salesforce-pageobjects/ui/chatbots/components/pageObjects/leftRailTabItemButton'; import _PanelHeader from 'salesforce-pageobjects/ui/chatbots/components/pageObjects/panelHeader'; import _ButtonIcon from 'salesforce-pageobjects/lightning/pageObjects/buttonIcon'; import _Router from 'salesforce-pageobjects/ui/chatbots/components/pageObjects/router'; /** * Component representing a navigation panel with top and bottom sections containing buttons for different views, and a main content area with a header and slots for dynamic content. * generated from JSON dist/ui/chatbots/components/leftRail.utam.json * @version 2026-03-09T13:56:37.141Z * @author Salesforce */ export default class LeftRail extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check if the top button group container is visible * @return boolean */ isTopButtonGroupContainerVisible(): Promise; /** * Check if the bottom button group container is present * @return boolean */ isBottomButtonGroupContainerPresent(): Promise; /** * Check if the left rail body is visible * @return boolean */ isLeftRailBodyVisible(): Promise; /** * Returns true if element "bottomButtonGroupContainer" present on the page * @return boolean */ verifyBottomButtonGroupContainerPresence(): Promise; /** * Represents the navigation buttons in the top section */ getNavItemButton(): Promise<_LeftRailTabItemButton[]>; getLeftRailTabItemButton(): Promise<_LeftRailTabItemButton[]>; /** * Represents the navigation buttons in the bottom section */ getFooterNavItemButton(): Promise<_LeftRailTabItemButton[] | null>; /** * Represents the header of the main content area */ getPanelHeader(): Promise<_PanelHeader>; /** * Represents the expand/restore button in the header, if present */ getExpandRestoreButton(): Promise<_ButtonIcon | null>; /** * Represents the close button in the header */ getClosePanelButton(): Promise<_ButtonIcon>; /** * Represents the router controller for dynamic content */ getRouterController(): Promise<_Router>; /** * Represents the content slot for dynamic components */ getDynamicSlot(ContainerCtor: _ContainerCtor): Promise; }