vuestic-ui
Version:
Vue 3 UI Framework
14 lines (13 loc) • 567 B
TypeScript
import { type Ref, type ExtractPropTypes } from 'vue';
import type { SelectOption } from '../types';
export declare const useAutocompleteProps: {
autocomplete: {
type: BooleanConstructor;
default: boolean;
};
};
type UseAutocompleteProps = ExtractPropTypes<typeof useAutocompleteProps> & {
multiple: boolean;
};
export declare const useAutocomplete: (autocompleteValue: Ref<string>, props: UseAutocompleteProps, value: Ref<SelectOption[]>, dropdownShown: Ref<boolean>, getText: (option: SelectOption) => string) => Ref<string>;
export {};