/** * Generates a regular expression that matches a standard IPv6 address. * @returns {RegExp} */ export declare function ipv6Regex(): RegExp; /** * Validates whether a given input string is a correctly formatted IPv6 address. * @param {string} s - The input string to be validated. * @param {RegExp} [regex] - The regex used to execute the function. * @throws {TypeError} If the input is not a string. * @returns {boolean} - True if the string is a valid IPv6 address, false otherwise. */ export declare function isValidIPv6(s: string, regex?: RegExp): boolean; /** * Creates a global regular expression used to locate IPv6 addresses within a larger block of text. * It utilizes word boundaries to ensure that only complete IP addresses are matched. * @returns {RegExp} */ export declare function findIPv6Regex(): RegExp; /** * Scans the provided text and extracts all occurrences of IPv6 addresses. * This function uses a global regular expression to find multiple matches within the input. * @param {string} text - The input text content to be searched. * @param {RegExp} [regex] - The regex used to execute the function. * @throws {TypeError} If the input is not a string. * @returns {string[]} - An array of all matched IP addresses, or null if no matches are found. */ export declare function extractIPsV6(text: string, regex?: RegExp): string[]; //# sourceMappingURL=Ipv6.d.mts.map