/** * Generated bundle index. Do not edit. */ import { BaseHarnessFilters, ComponentHarnessConstructor, ContentContainerComponentHarness, HarnessPredicate, HarnessQuery, TestElement } from "@angular/cdk/testing"; import { NxDropdownHarness } from "@allianz/ng-aquila/dropdown/testing"; import { NxFormfieldStatus } from "@allianz/ng-aquila/formfield"; import { NxFormfieldControlHarness } from "@allianz/ng-aquila/formfield/testing/control"; import { NxInputHarness } from "@allianz/ng-aquila/input/testing"; export interface NxFormfieldErrorHarnessFilters extends BaseHarnessFilters { text?: string | RegExp; } export declare class NxFormfieldErrorHarness extends ContentContainerComponentHarness { static hostSelector: string; static with(options?: NxFormfieldErrorHarnessFilters): HarnessPredicate; getText(): Promise; } export interface NxFormfieldNoteHarnessFilters extends BaseHarnessFilters { text?: string | RegExp; } export declare class NxFormfieldNoteHarness extends ContentContainerComponentHarness { static hostSelector: string; static with(options?: NxFormfieldNoteHarnessFilters): HarnessPredicate; getText(): Promise; } export interface NxFormfieldFilters extends BaseHarnessFilters { label?: string | RegExp; hasErrors?: boolean; readonly?: boolean; inline?: boolean; status?: NxFormfieldStatus | null; } export type FormfieldControlHarness = NxInputHarness | NxDropdownHarness; export declare class NxFormfieldHarness extends ContentContainerComponentHarness { static hostSelector: string; static with(options?: NxFormfieldFilters): HarnessPredicate; private readonly _label; private readonly _prefix; private readonly _suffix; private readonly _appendix; private readonly _hint; private readonly _statusMessage; private readonly _inputControl; private readonly _dropdownControl; /** * Gets the control inside the form-field, matching the query */ getControl(type: HarnessQuery): Promise; /** * Gets the control inside the form-field, matching the provided control harness */ getControl(type: ComponentHarnessConstructor): Promise; /** * Gets the control inside the form field, only supporting default controls (input, dropdown, etc.) */ getControl(): Promise; getLabel(): Promise; getPrefix(): Promise; getSuffix(): Promise; getAppendix(): Promise; getHint(): Promise; getHintText(): Promise; getErrors(filter?: NxFormfieldErrorHarnessFilters): Promise; getErrorTexts(filter?: NxFormfieldErrorHarnessFilters): Promise; hasErrors(filter?: NxFormfieldErrorHarnessFilters): Promise; getNotes(filter?: NxFormfieldNoteHarnessFilters): Promise; getNoteTexts(filter?: NxFormfieldNoteHarnessFilters): Promise; hasNotes(filter?: NxFormfieldNoteHarnessFilters): Promise; /** Gets the signal status of the form field, or null if none is applied. */ getStatus(): Promise; /** Gets the status message of the form field, or null if none is shown. */ getStatusMessage(): Promise; getStatusMessageText(): Promise; isValid(): Promise; isReadonly(): Promise; isInline(): Promise; }