/** * 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, ActionableUtamElement as _ActionableUtamElement } from '@utam/core'; import _HighlightsMobileListRecordItem from 'salesforce-pageobjects/force/pageObjects/highlightsMobileListRecordItem'; /** * Selector: .forceHighlightsStencil. * Represents the force:highlightsStencil Aura component. * Get the primary field and secondary field by index. Wait for the expected primary field to be displayed. * generated from JSON dist/force/highlightsPanel.utam.json * @version 2026-03-09T13:56:35.806Z * @author Salesforce */ declare class HighlightsPanel extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Gets the text of the primary field for the highlights panel * @return the text of the primary field for the highlights panel */ getPrimaryField(): Promise; /** * Gets the text of the secondary field with the given index for the highlights panel * @return the text of the secondary field with the given index for the highlights panel */ getSecondaryField(index: number): Promise; /** * Waits for and gets the primary field for the highlights panel * with the specified header text * @return the primary field for the highlights panel with the specified header text */ waitForExpectedPrimaryField(headerText: string): Promise; getSecondaryFields(): Promise<(_BaseUtamElement & _ActionableUtamElement)[]>; getMobileListRecordItems(): Promise<_HighlightsMobileListRecordItem[]>; } export = HighlightsPanel;