/** Normalizes segments independently so malformed params cannot block static normalization. */ export declare function normalizePathname(pathname: string): string; /** Removes trailing slashes while keeping the root pathname distinct. */ export declare function stripTrailingSlashes(pathname: string): string; /** Applies the request pathname's trailing-slash style to a target path. */ export declare function applyTrailingSlash(pathname: string, targetPathname: string): string; //# sourceMappingURL=pathname.d.ts.map