import type { MaybeSomeWdioElementOrArrayMaybePromiseOrMultiRemoteElements, WdioMatcherContext } from './types.js'; import { wrapExpectedWithArray } from './util/elementsUtil.js'; import type { CompareResult } from './util/executeCommand.js'; import { enhanceError } from './util/formatMessage.js'; import { waitUntil } from './util/waitUntil.js'; export { getAsymmetricMatcherValue, getStringAsymmetricMatcherValue, isArrayContainingMatcher, isAsymmetricMatcher, isInversedStringContainingMatcher, isInversedStringMatchingMatcher, isJasmineStringAsymmetricMatcher, isStringContainingMatcherLike, isStringMatchingMatcherLike, } from './util/asymmetricMatcherUtil.js'; import type { AsyncAssertionResult, CommandOptions, StringOptions } from './publicTypes/options.js'; import type { ExpectedOf } from './publicTypes/expectWebdriverIO.js'; export { compareText } from './util/compareText.js'; export { toArray } from './util/arrayUtil.js'; import type { MaybeArrayOrOneOf } from './publicTypes/expectWebdriverIO.js'; declare function executeCommandBe(this: WdioMatcherContext, received: MaybeSomeWdioElementOrArrayMaybePromiseOrMultiRemoteElements, command: (el: WebdriverIO.Element) => Promise, options?: CommandOptions): AsyncAssertionResult; export declare const compareTextOrOneOf: (actualText: string, expectedText: MaybeArrayOrOneOf> | undefined, options: StringOptions) => CompareResult; export declare const compareObject: (actual: T, expected: unknown) => CompareResult; /** * Each CSS value is compared as a string value, as in `toHaveText`: the string options, a RegExp, an asymmetric matcher * or `expect.oneOf()`. The actual values stay as is, and the compared values and the verdict of each property are apart. */ export declare const compareStyle: (actualEl: WebdriverIO.Element, style: { [key: string]: ExpectedOf<'style'>; }, options: StringOptions) => Promise>>; export { enhanceError, executeCommandBe, waitUntil, wrapExpectedWithArray };