import * as _angular_cdk_testing from '@angular/cdk/testing'; import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from '@angular/cdk/testing'; type DivHarnessFilters = BaseHarnessFilters & { /** Filters based on the text */ text?: string | RegExp; }; declare class DivHarness extends ComponentHarness { static hostSelector: string; /** * Get Harness with the given filter. * * @param options Options for filtering which input instances are considered a match. * @return a `HarnessPredicate` configured with the given options. */ static with(options?: DivHarnessFilters): HarnessPredicate; childLocatorFor: | string)[]>(...queries: T) => () => Promise<_angular_cdk_testing.LocatorFnResult>; childLocatorForOptional: | string)[]>(...queries: T) => () => Promise<_angular_cdk_testing.LocatorFnResult | null>; childLocatorForAll: | string)[]>(...queries: T) => () => Promise<_angular_cdk_testing.LocatorFnResult[]>; getText(option?: { childSelector?: string; }): Promise; } type SpanHarnessFilters = BaseHarnessFilters & { /** Filters based on the text */ text?: string | RegExp; }; declare class SpanHarness extends ComponentHarness { static hostSelector: string; /** * Get Harness with the given filter. * * @param options Options for filtering which input instances are considered a match. * @return a `HarnessPredicate` configured with the given options. */ static with(options?: SpanHarnessFilters): HarnessPredicate; childLocatorFor: | string)[]>(...queries: T) => () => Promise<_angular_cdk_testing.LocatorFnResult>; childLocatorForOptional: | string)[]>(...queries: T) => () => Promise<_angular_cdk_testing.LocatorFnResult | null>; childLocatorForAll: | string)[]>(...queries: T) => () => Promise<_angular_cdk_testing.LocatorFnResult[]>; getText(option?: { childSelector?: string; }): Promise; } export { DivHarness, SpanHarness }; export type { DivHarnessFilters, SpanHarnessFilters };