import type { OpenAPIParser, ContentItemModel, Options } from '@redocly/openapi-docs';
import type { SearchDocument } from '@redocly/theme';
import type { OpenAPIInfo } from '@redocly/openapi-docs/lib/types';
export declare class SearchIndexer {
    private parser;
    private readonly options;
    private basePath;
    private readonly resultArray;
    constructor(parser: OpenAPIParser, options: Options, basePath: string);
    addItem(item: ContentItemModel): SearchDocument | undefined;
    addInfo(info: OpenAPIInfo, metadata: Record<string, any>): {
        id: string;
        url: string;
        text: string;
        title: string;
        metadata: Record<string, any>;
    };
    getResult(): SearchDocument[];
    private getParameterId;
    private addOperation;
    private addSchema;
    private addTag;
    private addSection;
}
//# sourceMappingURL=search-indexer.d.ts.map