import { nextTick, StyleValue } from "vue"; import "./index.less"; export declare type AutocompleteSize = "lg" | "md" | "sm" | "xs"; export interface AutocompleteProps { modelValue: string; disabled?: boolean; fetchSuggestions: Function; placeholder?: string; allowClear?: boolean; name?: string; autoFitWidth?: boolean; contentClass?: string | Array | object; contentStyle?: StyleValue; replaceFields?: { value: string; }; size?: AutocompleteSize; } declare const _default: { new (...args: any[]): { $: import("vue").ComponentInternalInstance; $data: {}; $props: Partial<{ autoFitWidth: boolean; replaceFields: { value: string; }; }> & Omit, { autoFitWidth: boolean; replaceFields: () => { value: string; }; }>>> & { onSelect?: ((option: any) => any) | undefined; "onUpdate:modelValue"?: ((value: string) => any) | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "autoFitWidth" | "replaceFields">; $attrs: { [x: string]: unknown; }; $refs: { [x: string]: unknown; }; $slots: Readonly<{ [name: string]: import("vue").Slot | undefined; }>; $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}> | null; $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}> | null; $emit: ((event: "select", option: any) => void) & ((event: "update:modelValue", value: string) => void); $el: any; $options: import("vue").ComponentOptionsBase, { autoFitWidth: boolean; replaceFields: () => { value: string; }; }>>> & { onSelect?: ((option: any) => any) | undefined; "onUpdate:modelValue"?: ((value: string) => any) | undefined; }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { "update:modelValue": (value: string) => void; } & { select: (option: any) => void; }, string, { autoFitWidth: boolean; replaceFields: { value: string; }; }, {}, string> & { beforeCreate?: ((() => void) | (() => void)[]) | undefined; created?: ((() => void) | (() => void)[]) | undefined; beforeMount?: ((() => void) | (() => void)[]) | undefined; mounted?: ((() => void) | (() => void)[]) | undefined; beforeUpdate?: ((() => void) | (() => void)[]) | undefined; updated?: ((() => void) | (() => void)[]) | undefined; activated?: ((() => void) | (() => void)[]) | undefined; deactivated?: ((() => void) | (() => void)[]) | undefined; beforeDestroy?: ((() => void) | (() => void)[]) | undefined; beforeUnmount?: ((() => void) | (() => void)[]) | undefined; destroyed?: ((() => void) | (() => void)[]) | undefined; unmounted?: ((() => void) | (() => void)[]) | undefined; renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined; renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined; errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}> | null, info: string) => boolean | void)[]) | undefined; }; $forceUpdate: () => void; $nextTick: typeof nextTick; $watch any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions | undefined): import("vue").WatchStopHandle; } & Readonly, { autoFitWidth: boolean; replaceFields: () => { value: string; }; }>>> & { onSelect?: ((option: any) => any) | undefined; "onUpdate:modelValue"?: ((value: string) => any) | undefined; } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {}; __isFragment?: undefined; __isTeleport?: undefined; __isSuspense?: undefined; } & import("vue").ComponentOptionsBase, { autoFitWidth: boolean; replaceFields: () => { value: string; }; }>>> & { onSelect?: ((option: any) => any) | undefined; "onUpdate:modelValue"?: ((value: string) => any) | undefined; }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { "update:modelValue": (value: string) => void; } & { select: (option: any) => void; }, string, { autoFitWidth: boolean; replaceFields: { value: string; }; }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { $slots: { prefix: (_: {}) => any; suffix: (_: {}) => any; prepend: (_: {}) => any; append: (_: {}) => any; default: (_: { option: any; }) => any; }; }); export default _default; declare type __VLS_NonUndefinedable = T extends undefined ? never : T; declare type __VLS_TypePropsToRuntimeProps = { [K in keyof T]-?: {} extends Pick ? { type: import('vue').PropType<__VLS_NonUndefinedable>; } : { type: import('vue').PropType; required: true; }; }; declare type __VLS_WithDefaults = { [K in keyof Pick]: K extends keyof D ? P[K] & { default: D[K]; } : P[K]; };