import { IconPropType } from "../../../utils/vue/icon.js"; import "../../../utils/index.js"; import { InputModelModifiers, InputType } from "../../input/src/input.js"; import { InputInstance } from "../../input/src/instance.js"; import "../../input/index.js"; import { TooltipInstance } from "../../tooltip/src/tooltip.js"; import "../../tooltip/index.js"; import { AutocompleteData, AutocompleteFetchSuggestions, AutocompletePlacement, AutocompleteProps } from "./autocomplete.js"; import * as vue from "vue"; import { StyleValue } from "vue"; //#region ../../packages/components/autocomplete/src/autocomplete.vue.d.ts declare var __VLS_29: {}, __VLS_32: {}, __VLS_35: {}, __VLS_38: {}, __VLS_41: {}, __VLS_49: {}, __VLS_62: { item: Record; }, __VLS_64: {}; type __VLS_Slots = {} & { prepend?: (props: typeof __VLS_29) => any; } & { append?: (props: typeof __VLS_32) => any; } & { prefix?: (props: typeof __VLS_35) => any; } & { suffix?: (props: typeof __VLS_38) => any; } & { header?: (props: typeof __VLS_41) => any; } & { loading?: (props: typeof __VLS_49) => any; } & { default?: (props: typeof __VLS_62) => any; } & { footer?: (props: typeof __VLS_64) => any; }; declare const __VLS_base: vue.DefineComponent; /** @description autocomplete whether activated */ activated: vue.Ref; /** @description remote search loading status */ loading: vue.Ref; /** @description el-input component instance */ inputRef: vue.Ref; /** @description el-tooltip component instance */ popperRef: vue.Ref; /** @description fetch suggestions result */ suggestions: vue.Ref[], Record[] | AutocompleteData>; /** @description triggers when a suggestion is clicked */ handleSelect: (item: any) => Promise; /** @description handle keyboard enter event */ handleKeyEnter: () => Promise; /** @description focus the input element */ focus: () => void; /** @description blur the input element */ blur: () => void; /** @description close suggestion */ close: () => void; /** @description highlight an item in a suggestion */ highlight: (index: number) => void; /** @description loading suggestion list */ getData: (queryString: string) => Promise; }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, { blur: (evt: FocusEvent) => void; focus: (evt: FocusEvent) => void; select: (item: Record) => void; "update:modelValue": (value: string | number) => void; clear: () => void; change: (value: string | number) => void; input: (value: string | number) => void; }, string, vue.PublicProps, Readonly & Readonly<{ onBlur?: ((evt: FocusEvent) => any) | undefined; onChange?: ((value: string | number) => any) | undefined; onFocus?: ((evt: FocusEvent) => any) | undefined; onInput?: ((value: string | number) => any) | undefined; onSelect?: ((item: Record) => any) | undefined; "onUpdate:modelValue"?: ((value: string | number) => any) | undefined; onClear?: (() => any) | undefined; }>, { type: InputType; modelValue: string | number; disabled: boolean; tabindex: string | number; validateEvent: boolean; placement: AutocompletePlacement; teleported: boolean; valueKey: string; debounce: number; fetchSuggestions: AutocompleteFetchSuggestions; triggerOnFocus: boolean; loopNavigation: boolean; modelModifiers: InputModelModifiers; autocomplete: string; clearIcon: IconPropType; wordLimitPosition: "inside" | "outside"; inputStyle: string | false | vue.CSSProperties | StyleValue[] | null; rows: number; }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>; declare const __VLS_export: __VLS_WithSlots; declare const _default: typeof __VLS_export; type __VLS_WithSlots = T & { new (): { $slots: S; }; }; //#endregion export { _default };