RouteInfoWithAttributes is an object that contains metadata, including the
resolved value from the routes
model hook. Like
RouteInfoWithAttributes represents a specific route within a Transition. It
is read-only and internally immutable. It is also not observable, because a
Transition instance is never changed after creation.
RouteInfoWithAttributes is not user-constructible; the only legal way to
get one is from a valid
Transition. However, you can import the type by
import type syntax with TypeScript or
import() in JSDoc comments.