/** * Graph schema migration — structure only, does not re-scan. */ import { type SutraGraph } from "./types.js"; export declare const SUPPORTED_MIGRATIONS: Array<{ from: number; to: number; }>; /** Migrate a graph object in-memory. Returns migrated graph. */ export declare function migrateGraph(raw: Record): SutraGraph; export interface MigrateResult { migrated: boolean; fromVersion: number; toVersion: number; graph: SutraGraph; } /** Read, migrate if needed, and optionally write back. */ export declare function migrateFile(filePath: string, write?: boolean): MigrateResult;