import type { StringOrElement } from './../utils/element.types';
/**
 * A condition for checking size of element with given selector
 *
 * @example
 * browser.waitUntil(sizeOfElementsToBe('button', { width: 200, height: 200 }));
 *
 * @param {!string | ChainablePromiseElement<WebdriverIO.Element>} selectorOrElement The selector or element to check
 * @param {!{ width: number, height: number }} expectedSize The selector to check
 *
 * @returns {!function} An expected condition that returns a promise
 *     representing whether the element size.
 */
export declare function sizeOfElementsToBe(selectorOrElement: StringOrElement, expectedSize: {
    width: number;
    height: number;
}): () => Promise<boolean>;
