import type { LocationInfo, RouteConfig, RouteParams, Router } from './router.svelte'; /** * Get the router instance from context */ export declare function useRouter(): Router; /** * Get reactive location information */ export declare function useLocation(): LocationInfo; /** * Get reactive current route information */ export declare function useRoute(): RouteConfig | null; /** * Get reactive route parameters */ export declare function useParams(): RouteParams; /** * Get reactive query parameters */ export declare function useQuery(): URLSearchParams; /** * Get reactive navigation state */ export declare function useNavigating(): boolean; /** * Get reactive navigation history */ export declare function useHistory(): import("./router.svelte").HistoryEntry[]; /** * Get a navigation function */ export declare function useNavigate(): (pathname: string, options?: { replace?: boolean; state?: any; }) => void; /** * Check if a path is currently active */ export declare function useIsActiveRoute(): (path: string, exact?: boolean) => boolean; /** * Get a function to go back in history */ export declare function useGoBack(): () => void; /** * Get a function to go forward in history */ export declare function useGoForward(): () => void; /** * Watch for route changes and execute a callback */ export declare function useRouteWatcher(callback: (location: LocationInfo, route: RouteConfig | null) => void, immediate?: boolean): void; /** * Get current route metadata */ export declare function useRouteMeta(): Record | undefined; /** * Create a search params helper with reactive updates */ export declare function useSearchParams(): { get: (key: string) => string | null; set: (key: string, value: string) => void; delete: (key: string) => void; has: (key: string) => boolean; toString: () => string; getAll: () => { [k: string]: string; }; }; /** * Hook to get the current app version path */ export declare function useAppVersion(): string; /** * Hook to get the full pathname including app version */ export declare function useFullPathname(): string;