import type { StringOrElement } from './../utils/element.types'; /** * A condition for checking that an element is present on the DOM of a page * * @example * browser.waitUntil(presenceOf('.header')); * * @param {!string | ChainablePromiseElement} selectorOrElement The selector or element to check * * @returns {!function} An expected condition that returns a promise * representing whether the element is present on the DOM. */ export declare function presenceOf(selectorOrElement: StringOrElement): () => Promise;