import type { OptionProps, SelectProps } from './defaults'; import type { ExtractPropTypes, InjectionKey, Ref, ComputedRef } from 'vue'; export interface SelectContext { props: ExtractPropTypes; expanded: Ref; states: Record; filteredOptions: ComputedRef; handleSelect: (option: any, index: number, byClick?: boolean) => void; onKeyboardNavigate: (direction: 'forward' | 'backward') => void; onKeyboardSelect: () => void; onHover: (idx: number) => void; getLabel: (item: any) => string | number; getValue: (item: any) => string | number; update: (val: (string | number)[], label: string[], option: Record[]) => void; } export declare const selectInjectionKey: InjectionKey; export type IOptionProps = ExtractPropTypes; export type ISelectProps = ExtractPropTypes;