NavigationEntrySerializer
class NavigationEntrySerializer(resolvePath: (String) -> Navigatable?) : KSerializer<NavigationEntry> (source)
Serializes NavigationEntry as (path, params, stackPosition) and rehydrates the Navigatable reference from the registered navigation graph on deserialization.
Registered contextually by NavigationModule via CustomTypeRegistrar, capturing the module's route registry, so persisted state restores real navigatable references without screens or modals ever being serialized.