2021-01-28 15:37:21 -05:00
|
|
|
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
|
|
|
|
|
|
|
|
/// <reference no-default-lib="true" />
|
|
|
|
/// <reference lib="esnext" />
|
|
|
|
|
|
|
|
declare namespace globalThis {
|
|
|
|
declare namespace __bootstrap {
|
2021-03-01 05:31:13 -05:00
|
|
|
declare var eventTarget: {
|
|
|
|
EventTarget: typeof EventTarget;
|
|
|
|
};
|
|
|
|
|
2021-01-28 15:37:21 -05:00
|
|
|
declare var location: {
|
|
|
|
getLocationHref(): string | undefined;
|
|
|
|
};
|
2021-04-06 06:55:05 -04:00
|
|
|
|
|
|
|
declare var base64: {
|
|
|
|
byteLength(b64: string): number;
|
|
|
|
toByteArray(b64: string): Uint8Array;
|
|
|
|
fromByteArray(uint8: Uint8Array): string;
|
|
|
|
};
|
2021-01-28 15:37:21 -05:00
|
|
|
}
|
|
|
|
}
|