/** * 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, UtamBaseRootPageObject as _UtamBaseRootPageObject } from '@utam/core'; import _Spinner from 'salesforce-pageobjects/lightning/pageObjects/spinner'; import _CardViewList from 'salesforce-pageobjects/dev/workspace/pageObjects/cardViewList'; import _StateScreen from 'salesforce-pageobjects/dev/workspace/pageObjects/stateScreen'; /** * Component that displays a list of projects, allows searching through the projects, and provides a card view or state message based on the projects available. * Selector: dev_workspace-project-home-page-list * generated from JSON dist/dev/workspace/projectHomePageList.utam.json * @version 2026-03-09T13:56:35.189Z * @author Salesforce */ declare class ProjectHomePageList extends _UtamBaseRootPageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Clears the search input field and types a new search term */ enterSearchTerm(text: string): Promise; /** * Returns the text of the projects count element * @return string */ getProjectsCountText(): Promise; /** * Returns the text of the sort by element * @return string */ getSortByText(): Promise; /** * Checks if the search input field is focused * @return boolean */ isSearchInputFocused(): Promise; /** * Checks if the search input field is present in the DOM * @return boolean */ isSearchInputPresent(): Promise; waitForSpinnerOverlay(): Promise<(_BaseUtamElement)>; waitForSpinner(): Promise<_Spinner>; waitForCardViewList(): Promise<_CardViewList>; waitForStateScreen(): Promise<_StateScreen>; getRoot(): Promise<(_BaseUtamElement)>; /** * Represents the spinner overlay shown when data is loading */ getSpinnerOverlay(): Promise<(_BaseUtamElement) | null>; /** * Represents the spinner component indicating loading state */ getSpinner(): Promise<_Spinner | null>; /** * Represents the custom component that displays the list of projects in card view format */ getCardViewList(): Promise<_CardViewList | null>; /** * Represents the custom component that displays a state message when there are no projects or an error occurred */ getStateScreen(): Promise<_StateScreen | null>; } export = ProjectHomePageList;