/// import * as url from "url"; import * as t from "io-ts"; export type ValidUrl = url.Url & { readonly href: string; }; /** * io-ts type that decodes a Url from a string * * ie. UrlFromString.decode("http://example.com") */ export declare const UrlFromString: t.Type; export type UrlFromString = t.TypeOf; export declare const HttpsUrlFromString: t.RefinementC, ValidUrl>; export type HttpsUrlFromString = t.Type; export declare const HttpUrlFromString: t.RefinementC, ValidUrl>; export type HttpUrlFromString = t.Type;