/** * 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 _AgenticRecordForm from 'salesforce-pageobjects/setup/pageObjects/agenticRecordForm'; import _ViewRecordForm from 'salesforce-pageobjects/runtime_copilot_base/pageObjects/viewRecordForm'; /** * Component that supports objectType/custom type in the Confirm button flow for Agentforce. * Renders setup-agentic-record-form in SUMMARY mode when beta is enabled and runtime_copilot_base-view-record-form when disabled. * Selector: setup-record-output-object * generated from JSON dist/setup/recordOutputObject.utam.json * @version 2026-03-09T13:56:37.033Z * @author Salesforce */ export default class RecordOutputObject extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check if agentic record form is present and visible (beta enabled, SUMMARY mode) * @return boolean */ isAgenticRecordFormVisible(): Promise; /** * Check if base view record form is present and visible (beta disabled, read-only) * @return boolean */ isViewRecordFormVisible(): Promise; /** * Returns true if element "agenticRecordForm" is present on the page * @return boolean */ verifyAgenticRecordFormPresence(): Promise; /** * Returns true if element "viewRecordForm" is present on the page * @return boolean */ verifyViewRecordFormPresence(): Promise; waitForAgenticRecordForm(): Promise<_AgenticRecordForm>; waitForViewRecordForm(): Promise<_ViewRecordForm>; /** * Represents the agentic record form component rendered in SUMMARY mode when beta feature is enabled */ getAgenticRecordForm(): Promise<_AgenticRecordForm | null>; /** * Represents the base view record form component rendered in read-only mode when beta feature is disabled */ getViewRecordForm(): Promise<_ViewRecordForm | null>; }