import type { SearchFacet } from '@redocly/theme/core/types'; import type { SearchEngineType, AfterRoutesCreatedActions, AddDocumentsParams, SearchDocument } from '../../../types'; import type { FacetCountsRequestParams, GlobalData, SearchRequestParams, SearchResponse } from '../../../../types/index.js'; export declare class SearchEngine { #private; type: SearchEngineType; private l10n; constructor(type: SearchEngineType, l10n: GlobalData['l10n']); initIndexSchema(searchFacets: Map): Promise; addDocuments(documents: SearchDocument[], params: AddDocumentsParams): Promise; search(params: SearchRequestParams, facets?: Map): Promise; countFacets(params: FacetCountsRequestParams, facets: Map): Promise>; export(outDir: string): Promise; import(sourceDir: string): Promise; cleanupFacetValues(actions: AfterRoutesCreatedActions): void; } //# sourceMappingURL=search-engine.d.ts.map