import { Locator, WebElement, WebElementPromise } from 'selenium-webdriver'; /** * A proxy to the underlying WebElement which represents a slot/single row within * the component. */ export interface SlotProxy { /** * Find a WebElement within this SlotProxy * @param locator The element locator */ findElement(locator: Locator): WebElementPromise; /** * Find an array of matching elements within this SlotProxy * @param locator The elements locator */ findElements(locator: Locator): Promise; /** * Opens the contextMenu and the invokes the action provided for the element associated with this SlotProxy. * @param action The value of the <oj-option> to select * @since "11.0.0” * @example *
     *  const proxy = await treeview.findItem({ key: "news" });
     *  await proxy.doContextualAction("action1");
     * 
* */ doContextualAction(action: string): Promise; } /** * Create a SlotProxy proxy for the given WebElement * @param el The WebElement to proxy * @param parent Optional WebElement hostComponent * @return {SlotProxy} A SlotProxy implementation which wraps the given WebElement. */ export declare function slotProxy(el: WebElement, parent?: WebElement): SlotProxy;