The signature of a function used as a canLoad guard on a Route.
canLoad
Route
type CanLoadFn = (route: Route, segments: UrlSegment[]) => MaybeAsync<GuardResult>