import { By } from 'selenium-webdriver'; import { DriverLike } from '../../'; import { OjSelector } from './OjSelector'; export { OjSelector }; /** * Retrieve an instance of [OjSelector](../classes/elements.OjSelector.html). * @example * ```javascript * import { ojSelector } from '@oracle/oraclejet-webdriver/elements'; * const el = await ojSelector(driver, By.id('my-oj-selector')); * ``` * @param driver A WebDriver/WebElement instance from where the element will be * searched. If WebDriver is passed, the element will be searched globally in the * document. If WebElement is passed, the search will be relative to this element. * @param by The locator with which to find the element */ export declare function ojSelector(driver: DriverLike, by: By): Promise;