/** * 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, ActionableUtamElement as _ActionableUtamElement, ClickableUtamElement as _ClickableUtamElement } from '@utam/core'; import _Spinner from 'salesforce-pageobjects/lightning/pageObjects/spinner'; import _MenuItem from 'salesforce-pageobjects/lightning/pageObjects/menuItem'; import _BaseInputFilter from 'salesforce-pageobjects/ui/chatbots/components/pageObjects/baseInputFilter'; import _BaseListStatus from 'salesforce-pageobjects/ui/chatbots/components/pageObjects/baseListStatus'; import _ExtendedDatatable from 'salesforce-pageobjects/ui/chatbots/components/pageObjects/extendedDatatable'; /** * Component that displays a list of topics for a Copilot, allowing users to add new topics, filter, sort, and perform various actions on existing topics. * Selector: src-list-copilot-topics * generated from JSON dist/ui/chatbots/components/listCopilotTopics.utam.json * @version 2026-03-09T13:56:37.150Z * @author Salesforce */ declare class ListCopilotTopics extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Simulate a click action on the add new topic button */ clickAddButton(): Promise; /** * Simulate a selection action on the add menu dropdown */ selectAddMenuOption(): Promise; /** * Check if the add new topic button is visible * @return boolean */ isAddButtonVisible(): Promise; /** * Check if the add menu dropdown button is visible * @return boolean */ isAddMenuButtonVisible(): Promise; /** * Returns true if element "addButton" present on the page * @return boolean */ verifyAddButtonPresence(): Promise; /** * Returns true if element "addMenuButton" present on the page * @return boolean */ verifyAddMenuButtonPresence(): Promise; waitForLoadingSpinner(): Promise<_Spinner>; /** * Represents a named slot for guidance content. */ getGuidanceSlot(ContainerCtor: _ContainerCtor): Promise; /** * Represents a loading spinner indicating data is being fetched or processed. */ getLoadingSpinner(): Promise<_Spinner | null>; /** * Represents menu items within the add menu button. */ getAddMenuItem(): Promise<_MenuItem[] | null>; /** * Represents a search input field to filter topics. */ getSearchInput(): Promise<_BaseInputFilter | null>; /** * Represents a status list to display filtered topics. */ getStatusList(): Promise<_BaseListStatus | null>; /** * Represents a datatable to display and interact with the list of topics. */ getDatatable(): Promise<_ExtendedDatatable>; } export = ListCopilotTopics;