use ;
use Value as JsonValue;
/// A runtime route instance used at the Rust ↔ Dart boundary.
///
/// Why: Rust needs a stable, schema-flexible transport shape that can represent any
/// application-defined route. The strongly-typed route structs live in the application
/// crate, but the navigation runtime needs a single type to send/receive.
///
/// How: We serialize concrete route structs to JSON and tag them with a `kind` string
/// (matching the generated Dart `RouteKind`).