import { EventEmitter } from '@angular/core';
import { ParserService } from '../services/parser.service';
export declare const TYPEAHEAD_TEMPLATE = "\n\t
\n\t\t
\n\t\t
\n\t\t\t\n\t\t
\n\t\t\n\t\t
\n\t\t\tInvalid selection, please select item from list.\n\t\t\n\t
\n";
export declare class Typeahead {
private parserService;
valueChanged: EventEmitter;
private isOpenByButton;
constructor(parserService: ParserService);
loading: boolean;
items: Array;
dataSourceFunction: (partial: string) => any;
private _dataSource;
dataSource: any;
private _lock;
private _innerValue;
private innerValue;
displayMember: string;
matchOn: Array;
limitToList: boolean;
valueMember: string;
dropdownVisible: boolean;
activeIndex: number;
textValue: string;
minLength: number;
waitMs: number;
popupHeight: string;
hideButton: boolean;
itemSelected: EventEmitter;
objectSelected: EventEmitter;
uniqueId: string;
typeaheadError: boolean;
selectItem(item: any): void;
protected activateItem(index: number): void;
private isMatch(item);
private getMatchIndices();
private _lastKeypress;
keyup(event: any): void;
private processObservableFunction(funcValue, ddVisible);
private setActiveIndex(ddVisible);
protected processSelection(charCode: any): void;
writeValue(value: any): void;
keydown(event: any): void;
itemHidden(item: any): boolean;
private getTextMatchIndex(item);
itemDisplay(item: any): any;
hovered(index: any): void;
currentonclick: any;
initTypeahead(sender: any, document: any): void;
openByButton(): void;
}