import * as url from '.'

type URLConstructor = typeof url.URL
type URLSearchParamsConstructor = typeof url.URLSearchParams

declare global {
  type URL = url.URL
  type URLSearchParams = url.URLSearchParams

  const URL: URLConstructor
  const URLSearchParams: URLSearchParamsConstructor
}
