///
import RSVP, { Promise } from 'rsvp';
/**
* AJAX Promise
*
* Sub-class of RSVP Promise that passes the XHR property on to the
* child promise
*
* @extends RSVP.Promise
* @private
*/
export default class AJAXPromise extends Promise {
xhr?: JQueryXHR;
constructor(executor: (resolve: (value?: RSVP.Arg) => void, reject: (reason?: any) => void) => void, label?: string);
/**
* Overriding `.then` to add XHR to child promise
*/
then(onFulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onRejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null, label?: string): AJAXPromise;
}