declare global { interface Window { navigated: Promise; started: boolean; } const goto: ( href: string, opts?: { replaceState?: boolean; noScroll?: boolean; } ) => Promise; const invalidate: (url: string) => Promise; const prefetch: (url: string) => Promise; const beforeNavigate: (fn: (url: URL) => void | boolean) => void; const afterNavigate: (fn: () => void) => void; const prefetchRoutes: (urls?: string[]) => Promise; } export {};