import type { Progress } from './progress'; /** * 重写 XMLHttpRequest.prototype.send 方法,以监听请求进度。 */ export declare function setupXMLHttpRequest(target: typeof globalThis, progress: Progress): () => void;