import type { SearchFilterItem, SearchItemData, SearchFacetCount } from '@redocly/theme/core/types'; import type { AuthDetails } from '../server/types'; export type SearchRequestParams = { auth: AuthDetails; query: string; locale: string; filter?: SearchFilterItem[]; loadMore?: { groupKey: string; offset: number; }; }; export type SearchResponse = { facets: { [key: string]: SearchFacetCount[]; }; documents: { [key: string]: SearchItemData[]; }; }; export type FacetCountsRequestParams = { auth: AuthDetails; locale: string; field?: string; query?: string; filter?: SearchFilterItem[]; facetQuery?: string; }; //# sourceMappingURL=search.d.ts.map