/** * Check if the string is IPRange * * @param str - The string to check * @param version - IP version (4 or 6) * @returns True if the string matches the validation, false otherwise */ export default function isIPRange(str: string, version?: number | string): boolean;