import {type MultiSelectInputEmits, type MultiSelectInputModelValue, type MultiSelectInputProps} from '../../types'; import {type InputWithOptionsContext, useInputWithOptionsContext} from './useInputWithOptionsContext'; export type UseMultiSelectInputContext< T extends MultiSelectInputModelValue = MultiSelectInputModelValue, P extends MultiSelectInputProps = MultiSelectInputProps, > = (props: P, emit: MultiSelectInputEmits) => InputWithOptionsContext; export const useMultiSelectInputContext: UseMultiSelectInputContext = (props, emit) => { return useInputWithOptionsContext(props, emit, true); };