import { AbstractType } from "./AbstractType"; import { Req, scalar } from "@huz-com/types"; import { UrlTypeOption } from "./index.interfaces"; declare type T = scalar.Url; declare type O = UrlTypeOption; export declare class UrlType extends AbstractType { protected static _ins: UrlType; /** * Returns skeleton instance * */ static ins(): UrlType; constructor(); /** * Checks is url? */ is(value: scalar.Unknown, opt?: O, req?: Req): boolean; /** * Converts a value to url */ cast(value: scalar.Unknown, opt?: O, req?: Req): T | null; validate(value: string): boolean; } export {};