import type { OperationMenuItem } from '@redocly/openapi-docs/src/models/types.js';
import type { OperationModel, OpenAPIParser, ContentItemModel, Options } from '@redocly/openapi-docs';
import type { OpenAPIInfo } from '@redocly/openapi-docs/lib/types';
import type { SearchDocument } from '../../types';
export declare class SearchIndexer {
    #private;
    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[];
    getOperation(item: OperationMenuItem): OperationModel;
}
//# sourceMappingURL=search-indexer.d.ts.map