/** * Normalizes a URL pathname for matching and sitemap location building. * * @remarks * Ensures a leading slash and strips trailing slashes except for `/`. */ export declare function normalizePathname(pathname: string): string; /** * Matches a pathname against a small set of supported patterns. * * @remarks * Supported forms: * - exact: `/admin` * - prefix wildcard: `/admin/**` (matches `/admin` and descendants) * - trailing `**` only as a full segment after `/` * * This is not a full glob engine. Unsupported patterns are treated as exact matches. */ export declare function matchPathPattern(pathname: string, pattern: string): boolean; /** * Returns true when the pathname matches any of the patterns. */ export declare function matchesAnyPathPattern(pathname: string, patterns: readonly string[]): boolean;