import { SearchIndex, SearchResult, SearchOptions } from './types';
export declare class SearchEngine {
    private index;
    private sections;
    private initialized;
    constructor();
    init(index: SearchIndex): void;
    clear(): void;
    search(options: SearchOptions): SearchResult[];
    private generateSnippet;
    isInitialized(): boolean;
    getSectionCount(): number;
}
export declare const searchEngine: SearchEngine;
//# sourceMappingURL=search-engine.d.ts.map