/** * Checks if a given string is an IP address (IPv4 or IPv6). * This is a pragmatic check; it doesn't validate the IPv6 format strictly, * but aims to differentiate IP addresses from hostnames. * This function should be called with a string that does NOT contain a port number. * * @param {string} str The string to check. * @returns {boolean} `true` if the string is considered an IP address, otherwise `false`. */ export declare function isIpAddress(str: string): boolean;