import { PropTypes } from '@zag-js/vue'; import { ComputedRef, MaybeRef } from 'vue'; import { EmitFn, Optional } from '../../types'; import { CollectionItem, ListCollection } from '../collection'; import { RootEmits } from './select'; import * as select from '@zag-js/select'; export interface UseSelectProps extends Optional, 'dir' | 'getRootNode' | 'collection'>, 'id'> { /** * The model value of the select */ modelValue?: select.Props['value']; /** * The collection of items */ collection: ListCollection; } export interface UseSelectReturn extends ComputedRef> { } export declare const useSelect: (props: MaybeRef>, emit?: EmitFn>) => UseSelectReturn;