import type { ElProps } from '..'; export declare const AUTOCOMPLETE_SIZES: readonly ["sm", "md", "lg"]; export type AutocompleteSizes = typeof AUTOCOMPLETE_SIZES[number]; export declare const AUTOCOMPLETE_STATES: readonly ["valid", "invalid"]; export type AutocompleteStates = typeof AUTOCOMPLETE_STATES[number]; export type AutocompleteLoad = (query: string) => Promise; export interface AutocompleteProps extends Partial { /** * List of available items. */ items?: (string | any)[]; /** * Enable or disable create new option if there is no option. */ create?: boolean; /** * Set the FormAutocomplete disabled. */ disabled?: boolean; /** * Set placeholder for the FormAutocomplete */ placeholder?: string; /** * Enable or disable sorting */ sort?: boolean; /** * Load more options using async function. */ load?: AutocompleteLoad; /** * the text Value of FormAutocomplete */ value?: string | any | any[]; /** * Choose multiple items. */ multiple?: boolean; /** * Set validation state of Autocomplete */ state?: AutocompleteStates; /** * TODO */ key?: string; /** * TODO */ text?: string; }