/// import _isIP from 'validator/lib/isIP'; import { TReferenceProps } from '../../..'; import { IStringProps, TStringValidatorResult } from '../_types'; declare type TParameters = Parameters; export interface IIsIPProps { /** * IP Version */ version?: TParameters[1]; } /** * Check if the string is an IP (version 4 or 6). */ export declare const isIP: (props?: TReferenceProps & IStringProps) => TStringValidatorResult; export {};