Function
The current pathname, when there is one
Where the navigation goes, as Link and the router accept it
One type for the route pair's motion, or none
Shaped for Link and router.push: an empty list means "navigate as
before", which is also the answer when either side is unknown — a link
rendered outside the App Router has no current pathname.
A destination outside the app — another origin, a mailto:, a bare hash or
query — has no route to place, so it carries no type either.
The
transitionTypesa navigation between two routes should carry.