/** Decode one URL segment without making malformed input fatal. */ export declare function safeDecodeRouteSegment(value: string): string; /** Whether one URL decode turns a complete segment into `.` or `..`. */ export declare function isDotRouteSegment(segment: string): boolean; /** * Create a stable key for a static route segment. * * Decoding happens before re-encoding so raw and encoded aliases share one * identity. Re-encoding preserves segment boundaries, including encoded `/`. */ export declare function canonicalizeStaticRouteSegment(segment: string): string; export declare function staticRouteSegmentsEqual(left: string, right: string): boolean; /** Compile every one-decode-equivalent representation of a static segment. */ export declare function staticRouteSegmentToRegExpSource(segment: string): string; //# sourceMappingURL=segment.d.ts.map