import type { SearchResultsPage } from './types.js';
export declare class RagSearcher {
    private indexPromise?;
    private embedderPromise?;
    private readonly indexPath;
    constructor(indexPath?: string);
    search(query: string, topK?: number, packageName?: string, page?: number): Promise<SearchResultsPage>;
    private getIndex;
    private loadIndex;
    private getEmbedder;
}
export declare const createRagSearcher: (indexPath?: string) => RagSearcher;
