/** * 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'; import _Spinner from 'salesforce-pageobjects/lightning/pageObjects/spinner'; import _AppToolbar from 'salesforce-pageobjects/ui/chatbots/components/pageObjects/appToolbar'; import _LeftRail from 'salesforce-pageobjects/ui/chatbots/components/pageObjects/leftRail'; import _LeftRailItem from 'salesforce-pageobjects/ui/chatbots/components/pageObjects/leftRailItem'; import _LeftRailViewComponent from 'salesforce-pageobjects/ui/chatbots/components/pageObjects/leftRailViewComponent'; /** * A component representing the Copilot Builder Studio, which provides a UI for configuring and managing a digital agent. It includes a loading spinner, dynamic components for banners, an app header with settings, a toolbar with buttons for viewing checklists and managing agent status, a left rail for navigation, and a main content area for various views. * Selector: src-copilot-studio-container * generated from JSON dist/ui/chatbots/components/copilotStudioContainer.utam.json * @version 2026-03-09T13:56:37.131Z * @author Salesforce */ declare class CopilotStudioContainer extends _UtamBaseRootPageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Click on the checklist button if it is available */ clickChecklistButton(): Promise; /** * Check if the checklist button is visible * @return boolean */ isChecklistButtonVisible(): Promise; /** * Click on the status button to toggle the agent's status */ clickStatusButton(): Promise; /** * Check if the status button is visible * @return boolean */ isStatusButtonVisible(): Promise; /** * Check if the status button is enabled * @return boolean */ isStatusButtonEnabled(): Promise; /** * Fetch the text of the status button * @return String */ getStatusButtonText(): Promise; /** * Returns true if element "checklistButton" present on the page * @return boolean */ verifyChecklistButtonPresence(): Promise; waitForStudioLoadingSpinner(): Promise<_Spinner>; /** * Represents the loading spinner indicating studio is loading data */ getStudioLoadingSpinner(): Promise<_Spinner | null>; /** * Represents the app toolbar with action buttons */ getToolbar(): Promise<_AppToolbar>; /** * Represents the left navigation rail */ getLeftRail(): Promise<_LeftRail | null>; /** * Represents the items in the left rail navigation */ getLeftRailItems(): Promise<_LeftRailItem[] | null>; /** * Represents the view component nested within each left rail item * @param _leftRailItemsIndex index of parent element */ getLeftRailViewComponent(_leftRailItemsIndex: number): Promise<_LeftRailViewComponent | null>; /** * Collection of all navigation tab buttons in the left rail */ getTabItemButtons(): Promise<(_BaseUtamElement & _ClickableUtamElement)[] | null>; } export = CopilotStudioContainer;