/** * 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, UtamBasePageObject as _UtamBasePageObject } from '@utam/core'; import _FormattedUrl from 'salesforce-pageobjects/lightning/pageObjects/formattedUrl'; import _GenCanvasFormattedNumber from 'salesforce-pageobjects/experience/ui/gen/canvas/pageObjects/genCanvasFormattedNumber'; /** * Component that displays an analysis of an opportunity, including a URL, amount, current roadblock, next milestone, cross-sell opportunities, and competitive landscape. * Selector: src-experience_ui_gen_canvas-/analysis-result * generated from JSON dist/experience/ui/gen/canvas/analysisResult.utam.json * @version 2026-03-09T13:56:35.461Z * @author Salesforce */ export default class AnalysisResult extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Retrieves the text of the current roadblock * @return string */ getCurrentRoadblockText(): Promise; /** * Retrieves the text of the next milestone * @return string */ getNextMilestoneText(): Promise; /** * Retrieves the text of the cross-sell opportunities * @return string */ getCrossSellOpportunitiesText(): Promise; /** * Retrieves the text of the competitive landscape * @return string */ getCompetitiveLandscapeText(): Promise; waitForFormattedUrl(): Promise<_FormattedUrl>; /** * Represents the URL of the analysis as a clickable link */ getFormattedUrl(): Promise<_FormattedUrl | null>; /** * Represents the amount associated with the analysis */ getFormattedAmount(): Promise<_GenCanvasFormattedNumber>; }