import { EventEmitter, OnInit } from '@angular/core'; import { FormControl } from '@angular/forms'; import { MatAutocompleteTrigger } from '@angular/material/autocomplete'; import { IOption } from '../../../models/Models'; import { ScrollService } from '../../../services/scroll/scroll.service'; export declare class AutocompleteDropdownComponent implements OnInit { private scrollService; trigger: MatAutocompleteTrigger; /** * Text for dropdown placeholder * Default value: option * @internal */ element: string; /** * Options to display as radio buttons * Use the IOption interface: { value: string; text: string; selected?: boolean; } * @internal */ options: IOption[]; private originalOptions; /** * The default selected value of the dropdown */ set default(option: IOption); /** * Emit the value selected by the user * @internal */ elementSelected: EventEmitter; /** * Emits when the dropdown menu is opened */ opened: EventEmitter; /** * Emits when the dropdown menu is closed */ closed: EventEmitter; formControl: FormControl; selectedValue: IOption; constructor(scrollService: ScrollService); /** * Callback to apply custom filtering on the option list. * If provided it must set the options input with the filter result. * By default if filters all options where the display text starts with the input, case insensitive. * @param input Filtering value provided by the user */ filter: (input: string) => void; ngOnInit(): void; display(option: IOption): string; onOpened(): void; onClosed(): void; onSelectionChange(): void; }