/** * 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 _FormattedRichText from 'salesforce-pageobjects/lightning/pageObjects/formattedRichText'; import _BaseIcon from 'salesforce-pageobjects/runtime_copilot_base/pageObjects/baseIcon'; /** * A button component styled as a card that displays a recommendation text and triggers an event when clicked or when the enter key is pressed. * Selector: src-recommendation-button * generated from JSON dist/runtime_copilot_base/recommendationButton.utam.json * @version 2026-03-09T13:56:37.307Z * @author Salesforce */ declare class RecommendationButton extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Simulate a click on the recommendation card */ clickRecommendationCard(): Promise; /** * Simulate pressing the enter key on the recommendation card */ pressEnterOnRecommendationCard(): Promise; /** * Check if the recommendation card content is visible * @return boolean */ isRecommendationCardContentVisible(): Promise; /** * Get the text content of the recommendation text * @return string */ getRecommendationText(): Promise; /** * Represents the component that displays the formatted recommendation text. */ getRecommendationFormattedText(): Promise<_FormattedRichText>; /** * Represents the send icon within the recommendation card. */ getSendIcon(): Promise<_BaseIcon>; } export = RecommendationButton;