import { B as BaseHookOptions } from '../../common-fVjg5CUP.cjs'; interface UseSearchOptions extends BaseHookOptions { defaultQuery?: string; debounce?: number; minLength?: number; trim?: boolean; queryKey?: string; onSearch?: (query: string) => void; } interface UseSearchResult { query: string; debouncedQuery: string; isSearching: boolean; isDebouncing: boolean; isValid: boolean; setQuery: (query: string) => void; clearQuery: () => void; isPending: boolean; } declare function useSearch(options?: UseSearchOptions): UseSearchResult; export { type UseSearchOptions, type UseSearchResult, useSearch };