interface UrlOptions { emptyProtocol?: boolean; protocolIdentifier?: boolean; basicAuth?: boolean; local?: boolean; ipv4?: boolean; ipv6?: boolean; host?: boolean; port?: boolean; path?: boolean; search?: boolean; hash?: boolean; protocol?: string | string[]; protocols?: string | string[]; } declare let url: (options?: UrlOptions) => RegExp; export default url;