import type { SkewConnection } from '../types.js'; export interface RouteTrackingRouter { currentRoute: { value: { path: string; }; }; afterEach: (guard: (to: { path: string; }) => void) => void; } /** * Build the `?route=` query param appended to the initial SSE/WS connection URL * so the server knows the client's starting route when route tracking is on. */ export declare function resolveInitialRouteQuery(routeTracking: boolean | undefined, router: RouteTrackingRouter): string; /** * Send route updates to the server on client-side navigation when route tracking is on. */ export declare function trackRouteChanges(router: RouteTrackingRouter, routeTracking: boolean | undefined, skewConnection: SkewConnection): void;