/** * Client-side router for Nix.js Kit. * * Intercepts clicks on internal links, fetches the rendered page body from * `/__nix-js/render`, swaps the `#app` content and updates the history state. * This is loaded as part of the client bundle instead of being inlined in * every HTML page. * * Features: * - SPA navigation with head merge (title, meta, OG tags) * - Scroll restoration on back/forward * - Prefetch on hover/focus (Astro-style), with opt-in viewport prefetch * - View Transitions API with `prefers-reduced-motion` respect */ /** * Prefetches a path without navigating. Called by the IntersectionObserver * when a link enters the viewport, and on hover/focus. */ export declare function prefetch(pathname: string, search?: string): Promise; /** * Hoists `` and `