/** * Utilities for working with paths, URLs, and endpoint names */ /** * Normalizes a URL or path to a clean path string */ export declare function normalizePath(path: string): string; /** * Converts a URL to a path, removing base URL if detected */ export declare function normalizeUrlToPath(url: string | undefined, baseUrl?: string): string; /** * Extracts resource name from path (e.g., /users/:id -> users, /api/users -> users) */ export declare function extractResourceName(path: string): string; /** * Extracts endpoint name from path for file naming */ export declare function extractEndpointName(path: string): string; /** * Extracts controller name from path */ export declare function extractControllerFromPath(path: string): string; /** * Extracts group name from path */ export declare function extractGroupFromPath(path: string): string; /** * Extracts path parameters from path */ export declare function extractParamsFromPath(path: string): string[]; /** * Normalizes path for comparison (converts actual values to :id placeholders) */ export declare function normalizePathForComparison(path: string): string; /** * Checks if a path segment looks like a parameter value */ export declare function looksLikeParam(segment: string): boolean; /** * Capitalizes first letter of a string */ export declare function capitalize(str: string): string; //# sourceMappingURL=path-utils.d.ts.map