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