/** * URL validation utilities * * Hostname allowlist and validation for Jamf documentation URLs. * Shared by both the schema layer and the scraper service. */ import { type LocaleId } from '../constants.js'; /** Allowed hostnames for URL validation. */ export declare const ALLOWED_HOSTNAMES: Set; /** Check whether a URL string points to an allowed Jamf documentation hostname with HTTPS. */ export declare function isAllowedHostname(urlStr: string): boolean; /** * Extract locale segment from a Jamf documentation URL. * Returns the locale if found and supported, otherwise DEFAULT_LOCALE. * * URL structure: learn.jamf.com/{locale}/bundle/{bundleId}/page/{page}.html */ export declare function extractLocaleFromUrl(urlStr: string): LocaleId; //# sourceMappingURL=url.d.ts.map