/** * 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'; /** * Selector: lightning-record-picker-advanced * Represents the lightning-record-picker-advanced Lightning web component. * generated from JSON dist/lightning/recordPickerAdvanced.utam.json * @version 2026-03-09T13:56:36.221Z * @author Salesforce */ declare class RecordPickerAdvanced extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * How many records are displayed * @return number */ countRecords(): Promise; /** * Checks if results are being loaded * @return boolean */ isLoading(): Promise; /** * Raise a search */ pressSearchButton(): Promise; /** * Select the record with the provided index */ selectRecord(index: number): Promise; /** * Type some search terms in the search input */ type(text: string): Promise; /** * Get error message as text * @return string */ getErrorMessage(): Promise; /** * Wait for error message to be displayed * @throws TimeoutError */ waitForErrorMessage(): Promise; /** * Waits for the record picker advanced to be ready */ waitUntilReady(): Promise; /** * Waits to see some records */ waitForRecords(): Promise<(_BaseUtamElement)[]>; } export = RecordPickerAdvanced;