import { type Ref } from "vue"; import { type SuggestionsEmits, type SuggestionsOptions } from "../components/shared/props.js"; /** * The logic for the suggestions component. * * Note that while object suggestions are supported, the `suggestionLabel` prop is required and $inputModel and $modelValue will still be string values (as returned by the suggestionLabel function). */ export declare function useSuggestions($inputValue: Ref, $modelValue: Ref, emit: SuggestionsEmits, opts: SuggestionsOptions, debug?: boolean): { list: import("vue").ComputedRef; filtered: import("vue").ComputedRef; active: Ref; available: import("vue").ComputedRef; moreThanOneAvailable: import("vue").ComputedRef; hasExactlyMatching: import("vue").ComputedRef; /** Whether there is a valid suggestion that can be submitted. If `restrictToSuggestions` is true, this will be true if isValid is true, otherwise this is considered to be true if suggestions are available. */ hasValidSuggestion: import("vue").ComputedRef; openable: import("vue").ComputedRef; getLabel: import("vue").ComputedRef<(item: TSuggestion) => string>; isOpen: Ref; open: () => void; close: () => void; enterSelected: () => void; enterSuggestion: (num: number) => void; toggle: () => void; cancel: () => void; select: (num: number) => void; prev: () => void; next: () => void; first: () => void; last: () => void; }; export declare function useSuggestionsInputAria(id: Ref, isOpen: Ref, activeSuggestion: Ref, suggestions: Ref): import("vue").ComputedRef<{ "aria-autocomplete": "both" | undefined; "aria-controls": string | undefined; role: string | undefined; "aria-expanded": boolean | undefined; "aria-activedescendant": string | undefined; }>; //# sourceMappingURL=useSuggestions.d.ts.map