A type representing a reference value that can be resolved during encoding/decoding.
This type represents a function that takes a context and returns the resolved value. References are used to defer value resolution until the encoding/decoding context is available, enabling circular and self-referential data structures.
(ctx: Context): TDecoded
Resolves the reference against a context and returns the stored value.
[kIsRefValue]: true
Brand marker identifying the function as a reference value.