import type { OpenAPIParser, ContentItemModel, OperationModel, Options, SchemaModel } from '@redocly/openapi-docs';
import type { OpenAPIInfo } from '@redocly/openapi-docs/lib/types';
import type { OperationParameter } from '@redocly/theme/core/types';
import type { SearchDocument } from '../../types';
import { OpenApiSearchBuilder } from './openapi-search-builder.js';
export declare class SearchIndexer extends OpenApiSearchBuilder {
    #private;
    constructor(parser: OpenAPIParser, options: Options, basePath: string);
    addItem(item: ContentItemModel): SearchDocument | undefined;
    addInfo(info: OpenAPIInfo, metadata: Record<string, unknown>): SearchDocument & {
        metadata: Record<string, unknown>;
    };
    getResult(): SearchDocument[];
    protected buildOperationDocument(operation: OperationModel, rbac: Record<string, string> | undefined): SearchDocument | undefined;
    protected addSchema(parameters: Record<string, OperationParameter>, schema: SchemaModel | undefined, mediaType: string | undefined, place: string, isResponse: boolean, path?: string[], visitedPointers?: Set<string>, level?: number): void;
}
//# sourceMappingURL=search-indexer.d.ts.map