/** * Generates a regular expression that matches a standard IPv4 address. * The pattern ensures the string contains exactly four octets ranging from 0 to 255, separated by periods. * @returns {RegExp} */ export declare function ipv4Regex(): RegExp; /** * Validates whether a given input string is a correctly formatted IPv4 address. * It checks the string against the IPv4 regular expression pattern and returns a boolean result. * @param {string} s - The input string to be validated. * @param {RegExp} [regex] - The regex used to execute the function. * @returns {boolean} - True if the string is a valid IPv4 address, false otherwise. */ export declare function isValidIPv4(s: string, regex?: RegExp): boolean; /** * Creates a global regular expression used to locate IPv4 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 findIPv4Regex(): RegExp; /** * Scans the provided text and extracts all occurrences of IPv4 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. * @returns {string[]} - An array of all matched IP addresses, or null if no matches are found. */ export declare function extractIPsV4(text: string, regex?: RegExp): string[]; //# sourceMappingURL=Ipv4.d.mts.map