import { ValidatorConstraintInterface } from "class-validator"; declare const Url_base: (abstract new (value: any) => { readonly "__#2@#_nominalType": "url"; readonly value: any; toString(): any; toJSON(): any; isIdentical(value: any): boolean; }) & { readonly apiPropertyOptions: import("@nestjs/swagger").ApiPropertyOptions; getOrmType(): import("@mikro-orm/core").Constructor>; getValidator(): import("@mikro-orm/core").Constructor; getResourceDecorators(...args: any[]): (target: object | TFunction, propertyKey?: string | symbol, descriptor?: TypedPropertyDescriptor) => void; getPipe(): import("@nestjs/common").PipeTransform; createInstance(this: new (...args: any[]) => T, ...args: any[]): T; }; /** * Represents a URL. * * @class * @extends NType */ export declare class Url extends Url_base { _nominalType: string; /** * Creates a new `Url` instance from the given URL string. * * @param {string} url - The URL string to create a new `Url` instance from. * @returns {Url} A new `Url` instance created from the given URL string. */ static fromUrl(url: string): Url; /** * Checks whether the given value is identical to the value stored in this instance. * * @param {string} value - The value to compare with the value stored in this instance. * @returns {boolean} `true` if the values are identical, otherwise `false`. */ isIdentical(value: string): boolean; /** * Returns the protocol of the URL. * * @returns {string} The protocol of the URL. */ getProtocol(): string; /** * Returns the domain of the URL. * * @returns {string} The domain of the URL. */ getDomain(): string; /** * Returns the path of the URL. * * @returns {string} The path of the URL. */ getPath(): string; /** * Returns the domain of the URL in URL format. * * @returns {string} The domain of the URL in URL format. */ toUrl(): string; } export {};