import { ElementRef, EventEmitter, TemplateRef } from '@angular/core';
import { BehaviorSubject } from 'rxjs';
import * as i0 from "@angular/core";
export declare class BsSelect2Component {
    isOpen: boolean;
    suggestions$: BehaviorSubject<any[]>;
    isLoading$: BehaviorSubject<boolean>;
    defaultItemTemplate: TemplateRef<any>;
    searchBox: ElementRef<HTMLInputElement>;
    itemsBox: ElementRef<HTMLDivElement>;
    searchterm: string;
    suggestions: any[];
    provideSuggestions: EventEmitter<string>;
    selectedItems: any[];
    isFocused: boolean;
    private charWidth;
    searchWidth: number;
    itemTemplate?: TemplateRef<any>;
    onProvideSuggestions(value: string): void;
    onSuggestionClicked(suggestion: any): void;
    onRemoveItem(item: any, event: MouseEvent): void;
    focus(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<BsSelect2Component, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<BsSelect2Component, "bs-select2", never, { "searchterm": "searchterm"; "suggestions": "suggestions"; "selectedItems": "selectedItems"; }, { "provideSuggestions": "provideSuggestions"; }, never, never, false, never>;
}
