import type { SearchFacet, SearchFacetCount, SearchFacetQuery } from '@redocly/theme/core/types';
export declare function useFacetQuery(field: string): {
    searchFacet: SearchFacet | null;
    setSearchFacet: import("react").Dispatch<import("react").SetStateAction<SearchFacet | null>>;
    setSearchFacetQuery: import("react").Dispatch<import("react").SetStateAction<SearchFacetQuery | null>>;
};
export declare const useFacets: (facetCounts?: Record<string, SearchFacetCount[]>) => {
    facets: SearchFacet[];
};
//# sourceMappingURL=useFacets.d.ts.map