import { AutocompleteOption } from './autocomplete'; declare function highlightMatch(text: string): string; declare function __VLS_template(): { attrs: Partial<{}>; slots: { prefix?(_: {}): any; option?(_: { item: { [x: string]: any; value: string; label?: string | undefined; disabled?: boolean | undefined; }; index: number; highlight: typeof highlightMatch; }): any; }; refs: { wrapperRef: HTMLDivElement; inputRef: HTMLInputElement; dropdownRef: HTMLDivElement; }; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType; declare const __VLS_component: import('vue').DefineComponent; readonly default: () => never[]; }; readonly placeholder: { readonly type: StringConstructor; readonly default: ""; }; readonly disabled: { readonly type: BooleanConstructor; readonly default: false; }; readonly clearable: { readonly type: BooleanConstructor; readonly default: false; }; readonly size: { readonly type: import('vue').PropType; readonly default: "default"; }; readonly debounce: { readonly type: NumberConstructor; readonly default: 0; }; readonly highlight: { readonly type: BooleanConstructor; readonly default: true; }; readonly emptyText: { readonly type: StringConstructor; readonly default: "No results"; }; readonly fetchSuggestions: { readonly type: import('vue').PropType<(query: string) => AutocompleteOption[] | Promise>; readonly default: undefined; }; readonly triggerOnFocus: { readonly type: BooleanConstructor; readonly default: false; }; readonly valueKey: { readonly type: StringConstructor; readonly default: "value"; }; readonly labelField: { readonly type: StringConstructor; readonly default: "label"; }; readonly valueField: { readonly type: StringConstructor; readonly default: "value"; }; readonly wrapClass: { readonly type: import('vue').PropType>; readonly default: ""; }; readonly wrapStyle: { readonly type: import('vue').PropType>; readonly default: undefined; }; }>, { focus: () => void | undefined; blur: () => void | undefined; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { clear: () => any; select: (item: AutocompleteOption) => any; "update:modelValue": (value: string) => any; focus: (e: FocusEvent) => any; blur: (e: FocusEvent) => any; }, string, import('vue').PublicProps, Readonly; readonly default: () => never[]; }; readonly placeholder: { readonly type: StringConstructor; readonly default: ""; }; readonly disabled: { readonly type: BooleanConstructor; readonly default: false; }; readonly clearable: { readonly type: BooleanConstructor; readonly default: false; }; readonly size: { readonly type: import('vue').PropType; readonly default: "default"; }; readonly debounce: { readonly type: NumberConstructor; readonly default: 0; }; readonly highlight: { readonly type: BooleanConstructor; readonly default: true; }; readonly emptyText: { readonly type: StringConstructor; readonly default: "No results"; }; readonly fetchSuggestions: { readonly type: import('vue').PropType<(query: string) => AutocompleteOption[] | Promise>; readonly default: undefined; }; readonly triggerOnFocus: { readonly type: BooleanConstructor; readonly default: false; }; readonly valueKey: { readonly type: StringConstructor; readonly default: "value"; }; readonly labelField: { readonly type: StringConstructor; readonly default: "label"; }; readonly valueField: { readonly type: StringConstructor; readonly default: "value"; }; readonly wrapClass: { readonly type: import('vue').PropType>; readonly default: ""; }; readonly wrapStyle: { readonly type: import('vue').PropType>; readonly default: undefined; }; }>> & Readonly<{ onClear?: (() => any) | undefined; onSelect?: ((item: AutocompleteOption) => any) | undefined; "onUpdate:modelValue"?: ((value: string) => any) | undefined; onFocus?: ((e: FocusEvent) => any) | undefined; onBlur?: ((e: FocusEvent) => any) | undefined; }>, { readonly size: import('./autocomplete').AutocompleteSize; readonly disabled: boolean; readonly modelValue: string; readonly placeholder: string; readonly clearable: boolean; readonly debounce: number; readonly wrapStyle: Record; readonly options: string[] | AutocompleteOption[]; readonly highlight: boolean; readonly emptyText: string; readonly fetchSuggestions: (query: string) => AutocompleteOption[] | Promise; readonly triggerOnFocus: boolean; readonly valueKey: string; readonly labelField: string; readonly valueField: string; readonly wrapClass: string | string[] | Record; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, { wrapperRef: HTMLDivElement; inputRef: HTMLInputElement; dropdownRef: HTMLDivElement; }, HTMLDivElement>; declare const _default: __VLS_WithTemplateSlots; export default _default; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };