Declaring types
Spec version: 0.1.0
Normative. New realms declare types in the types record of realm.ts. Definition fragments
may be imported and merged; see Composing a realm. The host reads
the evaluated record directly, without YAML or decorator generation.
YAML and decorator declarations below describe existing legacy realms. They remain readable
under the capability-specific migration rules and receive no new YAML features. In a realm
with realm.ts, those legacy declarations are ignored under the source selection rules.
The static class-reference guarantees below apply to legacy decorators, not string references
in a realm.ts object. The host checks those references after evaluation.
See Labels and composition for what a label means once declared.

