import type Module from 'module'; import type { ShouldRevalidateFunction } from '@modern-js/runtime-utils/router'; export declare const createShouldRevalidate: (routeId: string) => ShouldRevalidateFunction; export declare const handleRouteModule: (routeModule: Module, routeId: string) => Module; /** * @deprecated Generated routes no longer use this. Swallowing the import error * here replaced a `ChunkLoadError` with an unrelated `TypeError` by the time it * reached the route error boundary. Kept only for code that imports it directly. */ export declare const handleRouteModuleError: (error: Error) => null;