/** * 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 _Card from 'salesforce-pageobjects/lightning/pageObjects/card'; import _FormattedUrl from 'salesforce-pageobjects/lightning/pageObjects/formattedUrl'; /** * A card component that displays project details including title, description, and date, with navigation URLs to view project and plan details. It also updates project attributes on click. * Selector: dev_workspace-card-view * generated from JSON dist/dev/workspace/cardView.utam.json * @version 2026-03-09T13:56:35.165Z * @author Salesforce */ export default class CardView extends _UtamBaseRootPageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Simulates a click on the project title link */ clickTitleLink(): Promise; /** * Retrieves the text content of the project description * @return string */ getTitleLink(): Promise; /** * Retrieves the text content of the project description * @return string */ getDescriptionText(): Promise; /** * Checks if the project description text is visible * @return boolean */ isDescriptionTextVisible(): Promise; /** * Checks if the footer container of the card is visible * @return boolean */ isFooterContainerVisible(): Promise; /** * Retrieves the text content of the formatted date in the footer * @return string */ getFormattedDateText(): Promise; /** * Checks if the formatted date text is visible * @return boolean */ isFormattedDateTextVisible(): Promise; getRoot(): Promise<(_BaseUtamElement)>; /** * Represents the container for the project card. */ getCardContainer(): Promise<_Card>; /** * Represents the link to view plan details, conditionally rendered. */ getViewPlanLink(): Promise<_FormattedUrl | null>; }