import { Value } from '@thisisagile/easy'; export interface UrlOptions { protocols?: string[]; require_tld?: boolean; require_protocol?: boolean; require_host?: boolean; require_port?: boolean; require_valid_protocol?: boolean; allow_underscores?: boolean; host_whitelist?: Array; host_blacklist?: Array; allow_trailing_dot?: boolean; allow_protocol_relative_urls?: boolean; disallow_auth?: boolean; } export declare class Url extends Value { readonly options?: UrlOptions | undefined; constructor(value: unknown, options?: UrlOptions | undefined); get isValid(): boolean; } export declare const url: (url: unknown, options?: UrlOptions) => Url; export declare const isUrl: (url?: unknown, options?: UrlOptions) => boolean;