import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core'; import { MenuItem } from '../falconTypes'; import * as i0 from "@angular/core"; export declare class CoreAutoCompleteComponent implements OnInit { private cdr; selectedItem: MenuItem; titleKeyObject: keyof string | number; valueKeyObject: keyof string | number; filterItems: MenuItem[]; newItems: MenuItem[]; value: T; isOpenMenu: boolean; get _items(): MenuItem[]; /** * Label text for the auto-complete input * @param string - Label to display above the input (default: 'ddd') * @example * */ label: string; /** * Key to use for displaying the title of each item * @param string - Property name from the item object to display as title * @example * */ titleKey: string; /** * Key to use for the value of each item * @param string - Property name from the item object to use as value * @example * */ valueKey: string; /** * Array of items for auto-complete suggestions * @param any[] - Array of objects with title and value properties * @example * */ items: any[]; /** * Default value for the auto-complete input * @param T - The default value to be set initially * @example * */ set defaultValue(value: T); /** * Event emitted when the selected value changes * @param EventEmitter - Emits the selected value as string * @example * */ onChange: EventEmitter; constructor(cdr: ChangeDetectorRef); ngOnInit(): void; ngAfterViewInit(): void; changeItemsType(items: any[]): MenuItem[]; openMenuClick(): void; onItemSelect(item: MenuItem | undefined): void; focusOut(): void; onChanged(value: any): void; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵcmp: i0.ɵɵComponentDeclaration, "core-auto-complete", never, { "label": { "alias": "label"; "required": false; }; "titleKey": { "alias": "titleKey"; "required": false; }; "valueKey": { "alias": "valueKey"; "required": false; }; "items": { "alias": "items"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; }, { "onChange": "onChange"; }, never, never, false, never>; }