A codec for encoding and decoding URL parts.
abstract class UrlCodec { abstract encodePath(path: string): string; abstract decodePath(path: string): string; abstract encodeSearch(search: string | { [k: string]: unknown; }): string; abstract decodeSearch(search: string): { [k: string]: unknown; }; abstract encodeHash(hash: string): string; abstract decodeHash(hash: string): string; abstract normalize(href: string): string; abstract normalize(path: string, search: { [k: string]: unknown; }, hash: string, baseUrl?: string): string; abstract areEqual(valA: string, valB: string): boolean; abstract parse(url: string, base?: string): { href: string; protocol: string; host: string; search: string; hash: string; hostname: string; port: string; pathname: string; };}