import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core'; import { FormControl } from '@angular/forms'; import { AutocompleteItem, AutocompleteItems } from '../../public-api'; import * as i0 from "@angular/core"; export declare class AutocompleteInputComponent implements AfterViewInit { /** * @description a reference to the autocomplete field */ inputField: ElementRef; /** * @description the text input elements identifier */ id: string; /** * @description the text input elements label */ label: string; /** * @description the value of the text input element */ value: FormControl; /** * @description the autocomplete items available */ autocompleteItems: AutocompleteItems; /** * @description text input elements name */ name?: string; /** * @description whether the text input is disabled */ disabled?: boolean; /** * @description the text input elements error message */ errorMessage?: string; /** * @description the tab index to be applied to the input element */ tabIndex?: number; /** * @description the placeholder to be used when the input field is empty */ placeholder?: string; /** * @description the test identifier for the input element */ testId?: string; /** * @description an event emitter which fires when a change is detected in the input elements value */ handleChange: EventEmitter; outputItems: AutocompleteItems; /** * @description a boolean representing the visibility of the autocomplete list */ showList: boolean; /** * @description the currently selected autocomplete item */ currentValue: AutocompleteItem | null; /** * @author Alex Hodson * @description class constructor specifying the required services and properties for the component */ constructor(); /** * @author Alex Hodson * @description the method to be run after the view is initialised */ ngAfterViewInit(): void; /** * @author Alex Hodson * @description handles a change in the in the input elements value */ handleValueChange(): void; /** * @author Alex Hodson * @description toggles the visibility of the autocomplete list */ toggleDropdownList(): void; /** * @author Alex Hodson * @description initialise the filtering of the autocomplete items */ initialiseFilter(): void; /** * @author Alex Hodson * @description filters through the autocomplete items identifying any items which match the term * @param term the term to be used as part of the filter * @returns an array containing the filtered items */ filterItems(term: string): any; /** * @author Alex Hodson * @description handles the autocomplete field gaining focus */ handleFocus(): void; /** * @author Alex Hodson * @description handles the autocomplete field losing focus - triggering the value change event emitter */ handleUnfocus(): void; /** * @author Alex Hodson * @description handles the selection of an autocomplete item * @param item the selected item */ setSelectedValue(item: AutocompleteItem): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }