import { ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core'; import { FormControl } from '@angular/forms'; import { BehaviorSubject } from 'rxjs'; import { MenuItem } from '../falconTypes'; import * as i0 from "@angular/core"; export declare class CoreMultiSelectComponent { private cdr; private elRef; focusItem: MenuItem | undefined; /** * Event emitted when items are selected or deselected * @param EventEmitter - Emits array of selected items * @example * */ onItemSelected: EventEmitter; inputElement: ElementRef; /** * Enable adding titleKey and valueKey to search keys automatically * @param boolean - true to add keys to search (default: true) * @example * */ canAddValueKeyAndTitleKeyInSearchKeys: boolean; /** * FormControl for form validation and value management * @param FormControl - Angular FormControl instance * @example * */ inputFormControl: FormControl; /** * Items that should be single-select (only one can be selected at a time) * @param string[] - Array of item values that are single-select * @example * */ singleSelectItems: string[]; /** * Label text for the multi-select component * @param string - Label to display above the component * @example * */ label: string; /** * Comma-separated keys to search in items * @param string - Keys separated by comma for search functionality * @example * */ searchKeys: string; /** * Key to use for displaying the title of each item * @param any - Property name from the item object to display as title * @example * */ set titleKey(data: any); /** * Key to use for the value of each item * @param any - Property name from the item object to use as value * @example * */ set valueKey(data: any); /** * Array of items for multi-selection * @param any - Array of objects with title and value properties * @example * */ set items(data: any); /** * Default selected values (required) * @param any[] - Array of default values to be selected initially * @example * */ set defaultValue(data: any[]); selectedItems: Record[]; filteredItems: BehaviorSubject; focusItemId: string; keys: string[]; newItems: any[]; isOpenMenu: boolean; _items: any; _defaultValue: string[]; _titleKey: any; _valueKey: any; initCounter: number; currentItemIndex: number; randomId: number; hasTitleKey: boolean; hasValueKey: boolean; hasItems: boolean; hasDefaultValue: boolean; focused: boolean; text: string; searchText: string; get isFocused(): boolean; get isSelectedItems(): boolean; constructor(cdr: ChangeDetectorRef, elRef: ElementRef); init(): void; onChangeText(event?: KeyboardEvent | undefined, canOpenMenu?: boolean): Promise; ngOnInit(): void; setInputFocus(): void; initializeDefaultValue(): void; handleKeyBoard(event: KeyboardEvent): void; ngAfterViewInit(): void; private scrollToActive; onItemSelect(selectedItem: any, isFromUi: boolean): void; showText(): void; changeItemsType(items: any[]): any[]; openMenuClick(): void; focusOut(event: FocusEvent): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }