/** * Decodes one URL path component without binding validation to an HTTP server. * Callers translate malformed encoding at their transport boundary and apply * domain-specific grammar checks to the decoded value. */ export type PathComponentDecodeResult = { ok: true; value: string; } | { ok: false; reason: "malformed-encoding"; }; export declare function decodeUrlPathComponent(raw: string): PathComponentDecodeResult;