import { P as ParsedRoute, R as RouteSegment } from './client-plugins-Bz7W8EKI.mjs'; declare function parseRoutePath(filePath: string): ParsedRoute; declare function segmentsToPattern(segments: RouteSegment[]): string; declare function matchRoute(url: string, segments: RouteSegment[]): { params: Record; matches: boolean; }; /** Match a route segment chain as an owner of the pathname or one of its descendants. */ declare function matchRoutePrefix(url: string, segments: RouteSegment[]): boolean; declare function resolveAppPath(root: string, ...paths: string[]): string; /** * Convert an absolute module path inside the project root to a root-relative * URL path with forward slashes (e.g. `/src/app/page.tsx`), for values the * client passes to dynamic `import()`. On Windows the naive root-prefix slice * yields `\src\app\page.tsx`, which is not a valid module specifier. Returns * undefined for paths outside the root so callers keep their own fallbacks. */ declare function toRootRelativeUrlPath(absolutePath: string, projectRoot: string): string | undefined; /** * Normalize a filesystem path to forward slashes. Node's fs accepts these on * every platform, and module ids handed to bundlers (e.g. Nitro handler and * task entries) must not contain backslashes. */ declare function toPosixPath(filePath: string): string; declare function toViteModuleId(filePath: string, root: string): string; declare function fileExists(filePath: string): Promise; declare function globFiles(pattern: string, cwd: string): Promise; declare function parseSearchParams(searchParams: URLSearchParams): Record; declare const logger: { info: (message: string) => void; success: (message: string) => void; warn: (message: string) => void; error: (message: string) => void; ready: (message: string) => void; event: (message: string) => void; }; export { matchRoutePrefix as a, toPosixPath as b, toViteModuleId as c, parseSearchParams as d, fileExists as f, globFiles as g, logger as l, matchRoute as m, parseRoutePath as p, resolveAppPath as r, segmentsToPattern as s, toRootRelativeUrlPath as t };