/** * 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, UtamBaseRootPageObject as _UtamBaseRootPageObject } from '@utam/core'; /** * Selector: lightning-modal * Represents the container for lightning-lookup-advanced-modal Lightning web component. * generated from JSON dist/lightning/lookupAdvancedModal.utam.json * @version 2026-03-09T13:56:36.135Z * @author Salesforce */ export default class LookupAdvancedModal extends _UtamBaseRootPageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Close the modal */ close(): Promise; /** * Confirm the selection */ confirm(): Promise; /** * How many records are displayed * @return number */ countRecords(): 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 * @return none */ type(text: string): Promise; /** * Waits for the lookup advanced to be ready (metadata fetched) */ waitUntilReady(): Promise; /** * Waits to see some records */ waitForRecords(): Promise; }