export type RouterMatch = { data: any; redirect: string; url: string; useCache: boolean; remainder: string; }; export type NamedRoutingHandler = { processNamedUrl: (url: string) => Promise; getName: () => string; canLeave: (url: string) => boolean; };