export const fetch: typeof globalThis.fetch | undefined;
export const XMLHttpRequest: {
    new (): {
        onreadystatechange: ((this: XMLHttpRequest, ev: Event) => any) | null;
        readonly readyState: number;
        readonly response: any;
        readonly responseText: string;
        responseType: XMLHttpRequestResponseType;
        readonly responseURL: string;
        readonly responseXML: Document | null;
        readonly status: number;
        readonly statusText: string;
        timeout: number;
        readonly upload: XMLHttpRequestUpload;
        withCredentials: boolean;
        abort(): void;
        getAllResponseHeaders(): string;
        getResponseHeader(name: string): string | null;
        open(method: string, url: string | URL): void;
        open(method: string, url: string | URL, async: boolean, username?: string | null, password?: string | null): void;
        overrideMimeType(mime: string): void;
        send(body?: Document | XMLHttpRequestBodyInit | null): void;
        setRequestHeader(name: string, value: string): void;
        readonly UNSENT: 0;
        readonly OPENED: 1;
        readonly HEADERS_RECEIVED: 2;
        readonly LOADING: 3;
        readonly DONE: 4;
        addEventListener<K extends keyof XMLHttpRequestEventMap>(type: K, listener: (this: XMLHttpRequest, ev: XMLHttpRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
        addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
        removeEventListener<K extends keyof XMLHttpRequestEventMap>(type: K, listener: (this: XMLHttpRequest, ev: XMLHttpRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
        removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
        onabort: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
        onerror: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
        onload: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
        onloadend: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
        onloadstart: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
        onprogress: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
        ontimeout: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
        dispatchEvent(event: Event): boolean;
    };
    readonly UNSENT: 0;
    readonly OPENED: 1;
    readonly HEADERS_RECEIVED: 2;
    readonly LOADING: 3;
    readonly DONE: 4;
} | undefined;
export function register(): () => void;
//# sourceMappingURL=index.d.ts.map