/** * 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'; import _RecordLayoutRow from 'salesforce-pageobjects/records/pageObjects/recordLayoutRow'; import _RecordLayoutColumn from 'salesforce-pageobjects/records/pageObjects/recordLayoutColumn'; import _RecordLayoutItem from 'salesforce-pageobjects/records/pageObjects/recordLayoutItem'; /** * Selector: records-record-layout-section. * Represents the records-record-layout-section Lightning web component. * Access a list of rows/columns/items, a row/column/item by index, or a section title. Check if the section is open or has a title. Toggle to collapse the section. * generated from JSON dist/records/recordLayoutSection.utam.json * @version 2026-03-09T13:56:36.816Z * @author Salesforce */ export default class RecordLayoutSection extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check if the record layout section is open * @return boolean value */ isOpen(): Promise; /** * Check if there is title * @return boolean value */ hasTitle(): Promise; /** * Toggle the section to collapse * @return boolean value */ toggleSectionCollapse(): Promise; /** * Toggle the section to expand * @return boolean value */ toggleSectionExpand(): Promise; getRows(): Promise<_RecordLayoutRow[]>; getRow(indexStartingOne: number): Promise<_RecordLayoutRow>; getColumns(): Promise<_RecordLayoutColumn[]>; getColumn(indexStartingOne: number): Promise<_RecordLayoutColumn>; getItems(): Promise<_RecordLayoutItem[]>; getItem(indexStartingOne: number): Promise<_RecordLayoutItem>; getSectionTitle(): Promise<(_BaseUtamElement)>; }