import { ContentContainerComponentHarness, ComponentHarnessConstructor, BaseHarnessFilters, HarnessPredicate } from '@angular/cdk/testing'; import { NxButtonType } from '@aposin/ng-aquila/button'; type Type = 'basic' | 'icon' | 'plain'; interface NxButtonHarnessFilters extends BaseHarnessFilters { type?: Type; variant?: NxButtonType; critical?: boolean; text?: string | RegExp; } declare class NxButtonHarness extends ContentContainerComponentHarness { static hostSelector: string; static with(this: ComponentHarnessConstructor, options?: NxButtonHarnessFilters): HarnessPredicate; private _basicButtonContent; private _plainButtonContent; /** * 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; getHref(): Promise; getText(): Promise; private _criticalClasses; isCritical(): Promise; getType(): Promise; getVariant(): Promise; isDisabled(): Promise; } export { NxButtonHarness };