/** * One-shot migration: regenerate `source_text` for all code-kind embeddings * using the new display format (with parenthesized counts) — without touching * the actual vectors. Run after upgrading to a build that splits embeddingText * from displayText. * * Usage (from build): * node -e "import('./build/embeddings/migrate-display.js').then(m => m.migrateDisplayText())" */ export interface MigrationStats { scanned: number; rewritten: number; skippedNoBody: number; skippedNoIndex: number; } /** * Walks every code-kind embedding (source_kind = 'code') and rewrites its * source_text using the project's local index.db + new chunker output. * Vectors are untouched. */ export declare function migrateDisplayText(): MigrationStats; //# sourceMappingURL=migrate-display.d.ts.map