import type { ChainablePromiseArray } from 'webdriverio'; import type { WdioElements } from '../types.js'; /** * Refetch elements array or return when elements is not of type WebdriverIO.ElementArray or a `MultiRemoteElementArray` * @param elements WebdriverIO.ElementArray | WebdriverIO.Element[] | MultiRemoteElementArray */ export declare const refetchElements: (elements: T) => Promise; export declare const syncronizeElements: (subject: WebdriverIO.ElementArray | ChainablePromiseArray | Promise, refetchedElements: WebdriverIO.ElementArray) => Promise; export declare const syncronizeChainableElementArray: (subject: ChainablePromiseArray | Promise, refetchedElements: WebdriverIO.ElementArray) => Promise; export declare const synchronizeElementArray: (subject: T, refetchedElements: T) => void; /** * Refetch and synchronize `subject` with the latest elements, returning them. */ export declare const refreshElementArray: (subject: T) => Promise;