// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
///
///
declare namespace globalThis {
declare namespace __bootstrap {
declare var infra: {
collectSequenceOfCodepoints(
input: string,
position: number,
condition: (char: string) => boolean,
): {
result: string;
position: number;
};
};
declare var mimesniff: {
parseMimeType(input: string): {
type: string;
subtype: string;
parameters: Map;
} | null;
};
declare var eventTarget: {
EventTarget: typeof EventTarget;
};
declare var location: {
getLocationHref(): string | undefined;
};
declare var base64: {
byteLength(b64: string): number;
toByteArray(b64: string): Uint8Array;
fromByteArray(uint8: Uint8Array): string;
};
}
}