/** * 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, UtamBasePageObject as _UtamBasePageObject } from '@utam/core'; /** * Component that displays a generated email preview including recipient, subject, and body using Salesforce record data. * Selector: src-output-email * generated from JSON dist/feeds/chat/outputEmail.utam.json * @version 2026-03-09T13:56:35.672Z * @author Salesforce */ declare class OutputEmail extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Returns the text content of the 'To' field * @return string */ getToFieldText(): Promise; /** * Returns the text content of the 'Subject' field * @return string */ getSubjectFieldText(): Promise; /** * Checks if the 'To' field is visible * @return boolean */ isToFieldVisible(): Promise; /** * Checks if the 'Subject' field is visible * @return boolean */ isSubjectFieldVisible(): Promise; waitForToField(): Promise<(_BaseUtamElement)>; /** * Represents the email 'Body' field displaying the body content in rich text. */ getEmailBody(): Promise<(_BaseUtamElement)>; } export = OutputEmail;