import { SearchProviderResponse } from "../../platform/services/search/types";
type SearchHook = {
    searchResults: Array<SearchProviderResponse>;
    searchQuery: string;
    updateQuery: (query: string) => void;
    resetSearch: () => void;
};
/**
 * A hook for working with search. Search results stream back, and this hook will relay those through
 * a reducer. Note that the reducer implementation is a singleton (if you have multiple search) inputs
 * across a component then they will all be synchronized to query and results.
 */
declare const useSearch: () => SearchHook;
export { useSearch };
//# sourceMappingURL=useSearch.d.ts.map