import type { WdioElementMaybePromise, MaybeSomeWdioElementOrArrayMaybePromiseOrMultiRemoteElements, WdioElementsMaybePromise, WdioMultiRemoteElements } from '../../types.js'; import type { AssertionResult, CommandOptions, NumberMatcher as PublicNumberMatcher } from '../../publicTypes/options.js'; import type { MaybeArray } from '../../publicTypes/expectWebdriverIO.js'; /** * Verifies that the element(s) has children. * Same as `expect(el).toHaveChildren({ gte: 1 })` or `expect(el).toHaveChildren({ gte: 1 }, options)`. */ export declare function toHaveChildren(received: MaybeSomeWdioElementOrArrayMaybePromiseOrMultiRemoteElements): Promise; /** * Element $() API * When called with an expected child count or number matcher. */ export declare function toHaveChildren(received: WdioElementMaybePromise, expectedValue: number | PublicNumberMatcher, options?: CommandOptions): Promise; /** * Eleement $$() API * When called with an expected child count or number matcher. */ export declare function toHaveChildren(received: WdioElementsMaybePromise, expectedValue: MaybeArray, options?: CommandOptions): Promise; /** * Multi-remote $() or $$(): one expected value for every instance, or one per instance */ export declare function toHaveChildren(received: WdioMultiRemoteElements, expectedValue: MaybeArray | ExpectWebdriverIO.MultiRemotePartialMatcher>, options?: CommandOptions): Promise;