/** * Extracts the root hostname from a URL. * For IPv4 addresses, returns the full address. * For domains, returns the last two parts (e.g., 'example.com' from 'sub.example.com') * Returns null if the input is invalid. */ export declare function getRootHostname(url: string): string | null;