/*! * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. */ import { Core } from "../main.js"; export declare class XmlHttp { constructor(core: Core); loadText(url: string, completed: (text: string) => void, failed: (e: string) => void): void; loadImage(url: string, completed: (image: HTMLImageElement) => void, failed: (e: string) => void): void; loadArrayBuffer(url: string, completed: (buffer: ArrayBuffer) => void, failed: (e: string) => void): void; }