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