import type { BetterSqlite3Database } from '../../../types.js';
export interface PreparedSearch {
    db: BetterSqlite3Database;
    rows: Array<{
        node_id: number;
        vector: Buffer;
        text_preview: string;
        name: string;
        kind: string;
        file: string;
        line: number;
        end_line: number | null;
        role: string | null;
    }>;
    modelKey: string | null;
    storedDim: number | null;
}
export interface PrepareSearchOpts {
    model?: string;
    kind?: string;
    filePattern?: string | string[];
    noTests?: boolean;
}
export declare function prepareSearch(customDbPath: string | undefined, opts?: PrepareSearchOpts): PreparedSearch | null;
//# sourceMappingURL=prepare.d.ts.map