import type { SearchFacetCount, SearchItemData } from '@redocly/theme/core/types';
import type { z } from 'zod';
import type { searchFacetsRequestSchema } from '../api-schemas/search-facets.js';
import type { searchRequestSchema } from '../api-schemas/search.js';
export type SearchRequestParams = z.infer<typeof searchRequestSchema>;
export type FacetCountsRequestParams = z.infer<typeof searchFacetsRequestSchema>;
export type SearchResponse = {
    facets: {
        [key: string]: SearchFacetCount[];
    };
    documents: {
        [key: string]: SearchItemData[];
    };
};
//# sourceMappingURL=api.d.ts.map