import { BaseHarnessFilters, ComponentHarness, ComponentHarnessConstructor, HarnessPredicate } from '@angular/cdk/testing'; import { O as OptionHarnessFilters, M as MatOptionHarness } from '../../option-harness.d-IqsW95GR.js'; import { OptgroupHarnessFilters, MatOptgroupHarness } from '../../core/testing/index.js'; /** A set of criteria that can be used to filter a list of `MatAutocompleteHarness` instances. */ interface AutocompleteHarnessFilters extends BaseHarnessFilters { /** Only find instances whose associated input element matches the given value. */ value?: string | RegExp; /** Only find instances which match the given disabled state. */ disabled?: boolean; } declare class MatAutocompleteHarness extends ComponentHarness { private _documentRootLocator; /** The selector for the host element of a `MatAutocomplete` instance. */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for an autocomplete with specific * attributes. * @param options Options for filtering which autocomplete instances are considered a match. * @return a `HarnessPredicate` configured with the given options. */ static with(this: ComponentHarnessConstructor, options?: AutocompleteHarnessFilters): HarnessPredicate; /** Gets the value of the autocomplete input. */ getValue(): Promise; /** Whether the autocomplete input is disabled. */ isDisabled(): Promise; /** Focuses the autocomplete input. */ focus(): Promise; /** Blurs the autocomplete input. */ blur(): Promise; /** Whether the autocomplete input is focused. */ isFocused(): Promise; /** Enters text into the autocomplete. */ enterText(value: string): Promise; /** Clears the input value. */ clear(): Promise; /** Gets the options inside the autocomplete panel. */ getOptions(filters?: Omit): Promise; /** Gets the option groups inside the autocomplete panel. */ getOptionGroups(filters?: Omit): Promise; /** Selects the first option matching the given filters. */ selectOption(filters: OptionHarnessFilters): Promise; /** Whether the autocomplete is open. */ isOpen(): Promise; /** Gets the panel associated with this autocomplete trigger. */ private _getPanel; /** Gets the selector that can be used to find the autocomplete trigger's panel. */ protected _getPanelSelector(): Promise; } export { MatAutocompleteHarness }; export type { AutocompleteHarnessFilters };