import { IOption } from '../../models/IOption'; import { EventEmitter, OnInit } from '@angular/core'; import { FormControl } from '@angular/forms'; import { Observable } from 'rxjs'; export declare class SearchbarComponent implements OnInit { /** * Options to display in the search bar * Use the IOption interface: { value: string; text: string; selected?: boolean; } * @internal */ options: IOption[]; /** * Emit the value selected by the user. * @internal */ optionUpdated: EventEmitter; myControl: FormControl; filteredOptions: Observable; initialValue: IOption; optionSelected: IOption; constructor(); ngOnInit(): void; private _filter; saveSelected: (option: IOption) => string; onOptionSelected: () => void; }