export interface BackfillOptions {
    dataDir: string;
    limit?: number;
    batchSize?: number;
    dryRun?: boolean;
    onProgress?: (done: number, total: number) => void;
}
export interface BackfillResult {
    scanned: number;
    embedded: number;
    skipped: number;
    errors: number;
    modelId: string;
    reason?: string;
}
/**
 * Walk url_cache rows that have no corresponding vec_id_map entry, embed
 * title + a snippet of markdown, and upsert into the vector store. Used to
 * recover pages cached before the sqlite-vec switch — find_similar's
 * embedding path skips them otherwise.
 */
export declare function backfillEmbeddings(opts: BackfillOptions): Promise<BackfillResult>;
//# sourceMappingURL=backfill-embeddings.d.ts.map