import { StringFormatType } from '../../utils/index'; import { PatternValidatorBase } from './index'; export declare const VALIDATOR_IP_METADATA_KEY: unique symbol; export interface IPValidatorOptions { Version?: string[]; NetMask?: boolean; } export declare function isIP(options?: IPValidatorOptions, errorMessage?: StringFormatType): (target: Record, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor) => void; export declare const PATTERN_IP_UNIVERSAL: RegExp; export declare class IPValidator extends PatternValidatorBase { constructor(options?: IPValidatorOptions, errorMessage?: StringFormatType); }