/// <reference types="jquery" />
import { ErrorDo, InitModelOf } from '../index';
export interface AjaxErrorModel {
    jqXHR: JQuery.jqXHR;
    textStatus: JQuery.Ajax.ErrorTextStatus;
    errorThrown: string;
    requestOptions: JQuery.AjaxSettings;
}
export declare class AjaxError implements AjaxErrorModel {
    model: AjaxErrorModel;
    jqXHR: JQuery.jqXHR;
    textStatus: JQuery.Ajax.ErrorTextStatus;
    errorDo: ErrorDo;
    errorThrown: string;
    requestOptions: JQuery.AjaxSettings;
    constructor(model: InitModelOf<AjaxError>);
    static isErrorDo(errorDo: any): errorDo is ErrorDo;
    static extractErrorDo(error: any): ErrorDo;
}
//# sourceMappingURL=AjaxError.d.ts.map