/** * 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 _ViewRecordId from 'salesforce-pageobjects/runtime_copilot_base/pageObjects/viewRecordId'; import _BaseRecordForm from 'salesforce-pageobjects/runtime_copilot_base/pageObjects/baseRecordForm'; /** * Component that conditionally displays a record ID or a form for viewing and editing record data based on the record's fields and the component's state. * Selector: runtime_copilot_view-record-form * generated from JSON dist/runtime_copilot_base/viewRecordForm.utam.json * @version 2026-03-09T13:56:37.364Z * @author Salesforce */ export default class ViewRecordForm extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Represents the component showing the record ID when in read-only mode with no fields. */ getRecordIdView(): Promise<_ViewRecordId | null>; /** * Represents the record form for viewing or editing record data. */ getRecordForm(): Promise<_BaseRecordForm>; }