import { CollectionNode } from './useCollection.js'; import { SyntheticEvent, ReactNode } from 'react'; interface UseCollectionSearchOptions { onSearch?: (event: SyntheticEvent, query: string) => void; } declare function useCollectionSearch(children: ReactNode, { onSearch }: UseCollectionSearchOptions): [CollectionNode[], (event: SyntheticEvent, query: string) => void]; export { type UseCollectionSearchOptions, useCollectionSearch };