interface HttpContext { xhr: XMLHttpRequest; } declare function executeHttp( this: HttpContext, url: string, options: { method: string; headers: Record; body: any; progress: (event: ProgressEvent) => void; speed: (event: ProgressEvent) => void; } ): Promise; export function init(); export default function(any): void;