import type { MaybeArray, WdioElementMaybePromise, WdioElementsMaybePromise, WdioMultiRemoteElements } from '../../types.js'; import type { AssertionResult, StringOptions } from '../../publicTypes/options.js'; import type { AsymmetricMatcher, MaybeOneOf } from '../../publicTypes/expectWebdriverIO.js'; /** Each CSS value is a string value, as in `toHaveText` */ type StyleRecord = { [key: string]: MaybeOneOf>; }; /** * Element $() */ export declare function toHaveStyle(received: WdioElementMaybePromise, expectedValue: StyleRecord, options?: StringOptions): Promise; /** * Elements $$() */ export declare function toHaveStyle(received: WdioElementsMaybePromise, expectedValue: MaybeArray, options?: StringOptions): Promise; /** * Multi-remote $() or $$(): one style for every instance, or one style per instance with `expect.multiRemote()` * (a plain object is always a literal style) */ export declare function toHaveStyle(received: WdioMultiRemoteElements, expectedValue: MaybeArray | ExpectWebdriverIO.MultiRemotePartialMatcher>, options?: StringOptions): Promise; export {};