/** * 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, ContainerCtor as _ContainerCtor, UtamBasePageObject as _UtamBasePageObject, UtamBaseRootPageObject as _UtamBaseRootPageObject } from '@utam/core'; import _Modal from 'salesforce-pageobjects/lightning/pageObjects/modal'; /** * Selector: lightning-overlay-container * Represents the lightning-overlay-container Lightning web component. Get the lightning-modal-base component by index. * generated from JSON dist/lightning/overlay.utam.json * @version 2026-03-09T13:56:36.173Z * @author Salesforce */ export default class Overlay extends _UtamBaseRootPageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * @param index Index here is elements position among siblings of the same type. The index of the first child is 1 */ getModalByIndex(index: number): Promise<_Modal | null>; /** * Internal use only. */ getOverlayByIndex(index: number): Promise<(_BaseUtamElement) | null>; getOverlayContent(index: number, selector: string, ContainerCtor: _ContainerCtor): Promise; }