import { ComputedRef, Ref } from 'vue'; import { RegisteredOption } from '../composables/useSelectCollection'; import { SelectModelValue } from '../types/model'; export type SelectContext = { modelValue: Ref>; isOpen: Ref; searchValue: Ref; multiple: Ref; disabled: Ref; searchable: Ref; clearable: Ref; loading: Ref; activeOptionValue: Ref; triggerId: string; inputId: string; listboxId: string; activeOptionElementId: ComputedRef; allOptions: ComputedRef[]>; filteredOptions: ComputedRef[]>; selectedOptions: ComputedRef[]>; showCreateItem: ComputedRef; createItemSearchValue: ComputedRef; isCreateItemActive: ComputedRef; createItemElementId: string; open: () => void; close: () => void; toggle: () => void; select: (value: OptionValue) => void; selectCreateItem: () => void; selectActiveOption: () => void; deselect: (value: OptionValue) => void; deselectLast: () => void; clear: () => void; registerOption: (option: RegisteredOption) => void; unregisterOption: (id: string) => void; setActiveOptionValue: (value: OptionValue | null) => void; moveActiveOption: (direction: 1 | -1) => void; focusFirstOption: () => void; isOptionVisible: (value: OptionValue) => boolean; handleKeydown: (event: KeyboardEvent) => void; registerRootElement: (element: HTMLElement | null) => void; registerTriggerElement: (element: HTMLElement | null) => void; registerInputElement: (element: HTMLInputElement | null) => void; registerPopoverElement: (element: HTMLElement | null) => void; rootElement: Ref; triggerElement: Ref; inputElement: Ref; popoverElement: Ref; }; export declare function provideSelectContext(context: SelectContext): void; export declare function injectSelectContext(): SelectContext;