import { PropTypes } from '@zag-js/react'; import { Optional } from '../../types'; import { CollectionItem, ListCollection } from '../collection'; import * as listbox from '@zag-js/listbox'; export interface UseListboxProps extends Optional, 'dir' | 'getRootNode' | 'collection'>, 'id'> { /** * The collection of items */ collection: ListCollection; } export interface UseListboxReturn extends listbox.Api { } export declare const useListbox: (props: UseListboxProps) => UseListboxReturn;