/** * 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'; /** * Component that displays a generated email preview with fields for the recipient's name and email address, subject, and body content. * Selector: src-output-email * generated from JSON dist/runtime_copilot_base/outputEmail.utam.json * @version 2026-03-09T13:56:37.299Z * @author Salesforce */ export default class OutputEmail extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Checks if the email container is visible * @return boolean */ getEmailContainerVisibility(): Promise; /** * Returns the text content of the recipient's name and email address field * @return string */ getToFieldText(): Promise; /** * Returns the text content of the email subject field * @return string */ getSubjectText(): Promise; /** * Represents the rich text formatted body of the email */ getBodyContent(): Promise<_FormattedRichText>; }