summaryrefslogtreecommitdiff
path: root/ext/url/internal.d.ts
blob: 0abb4507619569e233231bb5c227ebe9abc69a6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// 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;
    };
  }
}