import type { RectReturn } from '@wdio/protocols'; export type Size = Pick; export declare const toHaveSize: (this: import("../../types.js").WdioMatcherContext, received: import("../../types.js").MaybeSomeWdioElementOrArrayMaybePromiseOrMultiRemoteElements, expectedValue: unknown, options?: import("../../publicTypes/options.js").CommandOptions) => Promise;