// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

// deno-lint-ignore-file no-var

/// <reference no-default-lib="true" />
/// <reference lib="esnext" />

declare namespace globalThis {
  declare namespace __bootstrap {
    declare var url: {
      URL: typeof URL;
      URLSearchParams: typeof URLSearchParams;
      parseUrlEncoded(bytes: Uint8Array): [string, string][];
    };

    declare var urlPattern: {
      URLPattern: typeof URLPattern;
    };
  }
}