import type { SearchItemData, SearchFilterItem, SearchFacet } from '@redocly/theme';
export declare function useSearch(product?: string, disableAutoSearch?: boolean): {
    query: string;
    setQuery: import("react").Dispatch<import("react").SetStateAction<string>>;
    filter: SearchFilterItem[];
    setFilter: import("react").Dispatch<import("react").SetStateAction<SearchFilterItem[]>>;
    items: Record<string, SearchItemData[] | null>;
    isSearchLoading: boolean;
    facets: SearchFacet[];
    groupField: string;
    setLoadMore: import("react").Dispatch<import("react").SetStateAction<{
        groupKey: string;
        offset: number;
    } | undefined>>;
    advancedSearch: boolean | undefined;
    askAi: boolean | undefined;
};
//# sourceMappingURL=useSearch.d.ts.map