export declare const createRoute: (path: T) => { path: T; api(pathSuffix?: string): string; }; /** * Convert directory-based file path to route path * Examples: * - "./router/index.vue" -> "/" * - "./router/product/index.vue" -> "/product" * - "./router/product/[id]/index.vue" -> "/product/:id" * - "./router/product/[id]/progress/index.vue" -> "/product/:id/progress" */ export declare function convertPathToRoute(filePath: string, prefix?: string): string; /** * Check if a file is an index file (index.ts, index.js, index.vue) */ export declare function isIndexFile(fileName: string): boolean; /** * Convert directory name to route segment * Examples: * - "product" -> "product" * - "[id]" -> ":id" */ export declare function convertDirNameToSegment(dirName: string): string; //# sourceMappingURL=createRoute.d.ts.map