/** * Migrate legacy projects-registry.json to nexus.db (SQLite). * * Reads the JSON registry file, inserts each project into the * project_registry table via Drizzle, and renames the JSON file * to .migrated to prevent re-migration. * * @task T5366 */ /** * Migrate projects from legacy JSON registry to nexus.db. * * For each project entry in projects-registry.json: * - Reads target/.cleo/project-info.json for a stable UUID (projectId) * - Falls back to randomUUID() if project-info.json is absent * - Upserts into project_registry (on conflict by projectHash → update path/name/lastSeen) * * On success, renames the JSON file to .migrated. * * @returns Number of projects migrated. */ export declare function migrateJsonToSqlite(): Promise; //# sourceMappingURL=migrate-json-to-sqlite.d.ts.map