import type { StringOrElement } from './../utils/element.types';
/**
 * A condition for checking the element to be visible
 *
 * @example
 * browser.waitUntil(visibilityOf('.header'));
 *
 * @param {!string | ChainablePromiseElement<WebdriverIO.Element>} selectorOrElement The selector or element to check
 *
 * @returns {!function} An expected condition that returns a promise
 *     representing whether the element is visible.
 */
export declare function visibilityOf(selectorOrElement: StringOrElement): () => Promise<boolean>;
