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