/** * Namespace Migration * * Migrates flat ~/.photon/*.photon.ts files into namespace subdirectories. * Also cleans up legacy ~/.photon/local/ artifacts from older auto-symlink logic. * * Files with @forkedFrom metadata → move to author namespace * Files without metadata → stay in root (local photons live at ~/.photon/ root) * * Runs once on first startup, writes .migrated sentinel to prevent re-runs. */ /** * Run the namespace migration if it hasn't been run yet. * Safe to call on every startup — returns immediately if already migrated. * * Only runs on the real ~/.photon directory (not custom PHOTON_DIR overrides * which may be test fixture directories). */ export declare function runNamespaceMigration(baseDir?: string): Promise; //# sourceMappingURL=namespace-migration.d.ts.map