import type { AstroConfig } from 'astro'; export declare class RouteConverter { private config; constructor(config: AstroConfig); /** * Converts a file path to a route pattern (e.g., "users/[id].astro" -> "/users/:id") */ fileToRoute(file: string): string; /** * Creates a regex pattern from a route string (e.g., "/users/:id" -> /^\/users\/([^\/]+)$/) */ createRoutePattern(route: string): RegExp; /** * Converts a file path to a shell path with placeholders * (e.g., "users/[id].astro" -> "/users/__ACPS_id__") */ fileToShellPath(file: string): string; /** * Extracts parameter names from a route string (e.g., "/users/:id/:post*" -> ["id", "post"]) */ extractParamsFromRoute(route: string): string[]; /** * Extracts parameter names from a file path (e.g., "users/[id].astro" -> ["id"]) */ extractParamsFromFile(relativePath: string): string[]; private prependBase; }