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