import { ComponentHarness, HarnessQuery } from '@angular/cdk/testing'; import { WebdriverIOHarnessEnvironment } from './WebdriverIOHarnessEnvironment.js'; /** * Searches for all instances of the component corresponding to the given harness type under the * `HarnessLoader`'s root element, and returns a list of `ComponentHarness` for each instance. * @param query A query for a harness to create * @return A list of instances of the given harness type */ export declare const getAllHarnesses: (query: HarnessQuery) => Promise; /** * Searches for an instance of the component corresponding to the given harness type or host element * under the `HarnessLoader`'s root element, and returns a `ComponentHarness` for that instance. If * multiple matching components are found, a harness for the first one is returned. If no matching * component is found, an error is thrown. * @param query A query for a harness to create * @param element A raw host element for a harness to create * @return An instance of the given harness type * @throws If a matching component instance can't be found */ export declare const getHarness: (query: HarnessQuery, element?: WebdriverIO.Element) => Promise; /** * Returns a base harness environment instance. * @return An HarnessLoader instance for the current HTML document, rooted at the document's root element */ export declare const createHarnessEnvironment: (rootElement?: WebdriverIO.Element) => Promise; /** * Returns a promise that resolves when the application is "stable". * The promise might be rejected due to timeouts, or async tasks in the client * app that never finish (timers, etc). */ export declare const waitForAngular: () => Promise;