import { InjectionKey, Ref } from 'vue'; export declare enum Mode { Multi = 0, Single = 1 } export declare enum Type { Search = 0, Dropdown = 1 } export interface DropdownContextProps { activeIndex: Ref; activeOption: Ref; clearSelection: () => void; selectedOption: Ref; clearable: boolean; listRef: Ref; options: Ref<{ id: string; disabled?: boolean; }[]>; mode: Mode; type: Type; open: Ref; disabled: boolean; mandatory: boolean; labelRef: Ref; size: 'sm' | 'lg'; search: (term: string) => void; toggle: (value?: boolean) => void; placeholder: string; select?: (option: unknown) => void; query: Ref; selectedValue: Ref; goToOption: (index: number) => void; registerInput: (ref: Ref) => void; registerOption: (id: string, disabled: boolean, hasSubtitle?: boolean) => void; unRegisterOption: (id: string) => void; } export declare const DropdownContext: InjectionKey; export declare function useDropdownContext(component: string): DropdownContextProps;