export declare function toOpenApiTemplate(path: string): string; export declare function templateFromTestName(test?: string): string | null; export declare function pathMatchesTemplate(template: string, actual: string): boolean; export declare function isDynamicSegment(segment: string, previous?: string): boolean; export declare function heuristicTemplatize(pathname: string): string; /** * Map a concrete (or already-templated) path onto an OpenAPI template. * Returns null when the hit should not be recorded (unknown vs Nest controllers). */ export declare function templatize(pathname: string, test?: string, method?: string): string | null; export declare function pathParamNames(pathTemplate: string): string[]; export declare function extractPathParams(pathTemplate: string, actualPath: string): Record; /** Fill `{param}` slots so a stored template can be re-matched / re-heuristic'd. */ export declare function materializePath(pathTemplate: string, pathParams?: Record): string;