import { ExtensionOption } from '../config.js'; import { HttpVerb, LayoutFile, RouteFileMethod } from '../types.js'; export declare function shouldIgnoreRoutePath(relPath: string, ignorePatterns?: readonly string[]): boolean; export declare function assertPhysicalRouteFile(rawRel: string): void; export declare function isRouteFile(filePath: string): boolean; export declare function getMethodFromRouteFile(filePath: string): RouteFileMethod; export declare function isHttpVerb(method: string): method is HttpVerb; export declare function routePathWithoutVerb(routeRel: string): string; export declare function isLayoutFile(routeRel: string): boolean; export type RouteFileKind = "route" | "layout"; export declare function classifyRouteFile(relativePath: string): RouteFileKind | null; export declare function splitSegments(pathStr: string): string[]; export declare function normalizeRouteRel(routeRel: string): string; export declare function normalizeDynamicSegment(segment: string): string; export declare function buildUrlPath(routeRel: string): string; export declare function layoutIdFromPath(relativePath: string): string; export declare function segmentToPascal(segment: string): string; export declare function layoutImportName(layoutId: string): string; export declare function routeImportName(routeRel: string, method: RouteFileMethod): string; export declare function toModuleImportPath(routesImportPrefix: string, routeRel: string, extension?: ExtensionOption): string; export declare function importPathFromRouteRel(routeRel: string, routesImportPrefix: string, extension?: ExtensionOption): string; export declare function layoutImportPathFromRouteRel(routeRel: string, routesImportPrefix: string, extension?: ExtensionOption): string; export declare function layoutAppliesToRoute(layoutId: string, routeWithoutVerb: string): boolean; export declare function routeLayoutChain(routeWithoutVerb: string, layouts: LayoutFile[]): string[]; export declare function layoutParentId(layoutId: string, layoutIds: Set): string | null;