/** * 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 provides a form to display and edit record details, with dynamic layout capabilities and custom event handling for changes and save operations. * Selector: src-base-record-form * generated from JSON dist/runtime_copilot_base/baseRecordForm.utam.json * @version 2026-03-09T13:56:37.248Z * @author Salesforce */ declare class BaseRecordForm extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Click on the record title link to navigate to the record page */ clickRecordTitleLink(): Promise; /** * Check if the record title link is visible * @return boolean */ isRecordTitleLinkVisible(): Promise; /** * Check if the record title link is enabled and clickable * @return boolean */ isRecordTitleLinkEnabled(): Promise; /** * Get the text of the record title link * @return string */ getRecordTitleLinkText(): Promise; waitForDetailForm(): Promise<(_BaseUtamElement)>; waitForRowFields(): Promise<(_BaseUtamElement)[]>; waitForRowFieldByIndex(index: number): Promise<(_BaseUtamElement)>; waitForLightningFormField(index: number): Promise<(_BaseUtamElement)>; waitForLightningFormFieldOutput(index: number): Promise<(_BaseUtamElement)>; /** * Represents the header of the record form with title and icon. */ getRecordHeader(): Promise<(_BaseUtamElement)>; /** * Represents the main form for record details, which is conditionally rendered and contains event handlers for lookup queries and form save. */ getDetailForm(): Promise<(_BaseUtamElement) | null>; /** * List of fields in dxp form */ getRowFields(): Promise<(_BaseUtamElement)[] | null>; getRowFieldByIndex(index: number): Promise<(_BaseUtamElement) | null>; getLightningFormField(index: number): Promise<(_BaseUtamElement) | null>; getLightningFormFieldOutput(index: number): Promise<(_BaseUtamElement) | null>; } export = BaseRecordForm;