/** * Generated bundle index. Do not edit. */ import { NxFormfieldControlHarness } from "@allianz/ng-aquila/formfield/testing/control"; import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from "@angular/cdk/testing"; export interface NxDropdownItemFilters extends BaseHarnessFilters { text?: string | RegExp; isSelected?: boolean; } export declare class NxDropdownItemHarness extends ComponentHarness { static hostSelector: string; static with(options?: NxDropdownItemFilters): HarnessPredicate; /** Click the option */ click(): Promise; /** Get the option's label text */ getText(): Promise; /** Get whether the option is disabled */ isDisabled(): Promise; /** Get whether the option is selected */ isSelected(): Promise; /** Get whether the option is active */ isActive(): Promise; /** Get whether the option is in multiselect mode */ isMultiple(): Promise; } interface NxDropdownGroupHarnessFilters extends BaseHarnessFilters { label?: string | RegExp; } declare class NxDropdownGroupHarness extends ComponentHarness { static hostSelector: string; static with(options?: NxDropdownGroupHarnessFilters): HarnessPredicate; private readonly _label; getLabel(): Promise; getItems(filter?: NxDropdownItemFilters): Promise; } export interface NxDropdownFilters extends BaseHarnessFilters { /** Text is either the placeholder, or the currently selected value */ valueText?: string | RegExp; readonly?: boolean; disabled?: boolean; } export declare class NxDropdownHarness extends NxFormfieldControlHarness { static hostSelector: string; static with(options?: NxDropdownFilters): HarnessPredicate; private readonly documentRootLocator; private readonly _panelBodyQuery; private readonly _valueText; private readonly _trigger; private readonly _filter; /** Get the current value text when dropdown is not empty */ getValueText(): Promise; isDisabled(): Promise; isReadonly(): Promise; focus(): Promise; blur(): Promise; isFocused(): Promise; isEmpty(): Promise; isOpen(): Promise; open(): Promise; /** Close the dropdown if it is opened */ close(): Promise; /** Get items inside the dropdown panel. Only returns items when the panel body is opened */ getItems(filter?: Omit): Promise; getGroups(filter?: Omit): Promise; /** Open the dropdown and click the first item matching the filter */ clickItem(filter?: NxDropdownItemFilters): Promise; /** Get whether the dropdown has a filter input. The dropdown panel must be open */ hasFilter(): Promise; /** Get the current filter value. The dropdown panel must be open */ getFilterValue(): Promise; /** Set the filter value. The dropdown panel must be open */ setFilterValue(value: string): Promise; } export {};