Detect a raw parsed layout's version and migrate it forward to the current
shape. Returns the migrated bare snapshot object (still structurally
unvalidated — the importer/engine validate and rebuild it). Unknown/too-new
versions and non-objects fail as a Result error, never a throw.
Detect a raw parsed layout's version and migrate it forward to the current shape. Returns the migrated bare snapshot object (still structurally unvalidated — the importer/engine validate and rebuild it). Unknown/too-new versions and non-objects fail as a
Resulterror, never a throw.