import { StringFormatType } from '../../utils/index'; import { PatternValidatorBase } from './index'; export declare const VALIDATOR_URL_METADATA_KEY: unique symbol; export interface UrlValidatorOptions { MaxSize?: number; Protocols?: string[]; Ports?: string[]; ForceProtocol?: boolean; ForcePort?: boolean; AllowQuery?: boolean; } export declare function isUrl(options?: UrlValidatorOptions, errorMessage?: StringFormatType): (target: Record, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor) => void; export declare const PATTERN_URL_UNIVERSAL: RegExp; export declare class UrlValidator extends PatternValidatorBase { constructor(options?: UrlValidatorOptions, errorMessage?: StringFormatType); }