/** * Extracts the hostname from a URL. * Returns the hostname for both domain names (e.g., 'api.example.com') and IP addresses (e.g., '192.168.1.1') * Returns null for invalid URLs or hostnames. */ export declare function getHostname(url: string): string | null;