/**
 * URL minification using Node’s WHATWG URL API
 *
 * Produces the shortest equivalent URL representation:
 * - Same origin: shortest of root-relative or path-relative
 * - Cross-origin, same scheme: scheme-relative (`//host/path`)
 * - Otherwise: normalized absolute URL
 */
/**
 * Create a URL minifier function for the given site context.
 * @param {string} site - The site base URL (used to compute relative URLs)
 * @returns {(url: string) => string} Minifier function that returns the shortest URL
 */
export declare function createUrlMinifier(site: string): (url: string) => string;
//# sourceMappingURL=urls.d.ts.map