import { ParsedURL } from './types'; /** * Parses a URL string against a list of configured prefixes. * * Responsibilities: * - Strip the longest matching prefix (or report no match). * - Drop any `#fragment` portion. * - Decode each path segment so literal patterns compare against decoded * text (e.g. `hello%20world` matches a `hello world` pattern segment). * - Parse the query string into a plain key/value map. */ export declare class URLParser { stripPrefix(url: string, prefixes: string[]): string | null; parse(url: string, prefixes: string[]): ParsedURL | null; } //# sourceMappingURL=URLParser.d.ts.map