/**
 * Navigation & Prefetch Runtime
 *
 * Phase 7: Prefetch compiled output, safe SPA navigation, route caching
 *
 * This runtime handles:
 * - Prefetching compiled HTML + JS for routes
 * - Caching prefetched routes
 * - Safe DOM mounting and hydration
 * - Browser history management
 * - Explicit data exposure for navigation
 */
/**
 * Route cache entry containing compiled output
 */
export interface RouteCacheEntry {
    html: string;
    js: string;
    styles: string[];
    routePath: string;
    compiledAt: number;
}
/**
 * Navigation options with explicit data
 */
export interface NavigateOptions {
    loaderData?: any;
    props?: any;
    stores?: any;
    replace?: boolean;
    prefetch?: boolean;
}
/**
 * Prefetch a route's compiled output
 *
 * @param routePath - The route path to prefetch (e.g., "/dashboard")
 * @returns Promise that resolves when prefetch is complete
 */
export declare function prefetchRoute(routePath: string): Promise<void>;
/**
 * Get cached route entry
 */
export declare function getCachedRoute(routePath: string): RouteCacheEntry | null;
/**
 * Navigate to a route with explicit data
 *
 * @param routePath - The route path to navigate to
 * @param options - Navigation options with loaderData, props, stores
 */
export declare function navigate(routePath: string, options?: NavigateOptions): Promise<void>;
/**
 * Handle browser back/forward navigation
 */
export declare function setupHistoryHandling(): void;
/**
 * Generate navigation runtime code (to be included in bundle)
 */
export declare function generateNavigationRuntime(): string;
