UNPKG

@wizecorp/stratusjs

Version:
14 lines 461 B
import type { RouteDefinition } from './types'; /** * Converts a file path to a route path */ export declare function filePathToRoutePath(filePath: string): string; /** * Automatically discovers routes in the project */ export declare function discoverRoutes(useCache?: boolean): Promise<RouteDefinition[]>; /** * Clears the routes cache (useful in development) */ export declare function clearRoutesCache(): void; //# sourceMappingURL=routeUtils.d.ts.map