interface XHRThenable extends Promise { abort(): void; } export default function xhr(options: string | JQuery.AjaxSettings): XHRThenable;