import { ContentContainerComponentHarness, BaseHarnessFilters, HarnessPredicate, TestElement } from '@angular/cdk/testing'; interface NxCardHarnessFilters extends BaseHarnessFilters { heading?: string | RegExp; /** boolean to check for presence, string or RegExp to the highlight's text */ highlight?: boolean | string | RegExp; } declare class NxCardHarness extends ContentContainerComponentHarness { static hostSelector: string; static with(options?: NxCardHarnessFilters): HarnessPredicate; protected _heading: () => Promise; protected _highlight: () => Promise; /** * Get the text of the first heading element within the Card * * Can be an HTML h* element or an element with role="heading" */ getHeadingText(): Promise; /** * Find the highlight element within the card */ getHighlight(): Promise; } interface NxSelectableCardHarnessFilters extends NxCardHarnessFilters { checked?: boolean; } declare class NxSelectableCardHarness extends NxCardHarness { static hostSelector: string; private _indicatorFilled; private _label; static with(options?: NxSelectableCardHarnessFilters): HarnessPredicate; isChecked(): Promise; hasError(): Promise; /** * Clicks the button at the given position relative to its top-left. * @param relativeX The relative x position of the click. * @param relativeY The relative y position of the click. */ click(relativeX: number, relativeY: number): Promise; /** Clicks the button at its center. */ click(location?: 'center'): Promise; } export { NxCardHarness, NxSelectableCardHarness }; export type { NxCardHarnessFilters, NxSelectableCardHarnessFilters };