import { Subscriber } from '../../Subscriber'; import { AjaxResponse } from './AjaxObservable'; /** * @see {@link ajax} * * @interface * @name AjaxRequest * @noimport true */ export declare class AjaxRequestDoc { /** * @type {string} */ url: string; /** * @type {number} */ body: any; /** * @type {string} */ user: string; /** * @type {boolean} */ async: boolean; /** * @type {string} */ method: string; /** * @type {Object} */ headers: Object; /** * @type {number} */ timeout: number; /** * @type {string} */ password: string; /** * @type {boolean} */ hasContent: boolean; /** * @type {boolean} */ crossDomain: boolean; /** * @return {XMLHttpRequest} */ createXHR(): XMLHttpRequest; /** * @type {Subscriber} */ progressSubscriber: Subscriber; /** * @param {AjaxResponse} response * @return {T} */ resultSelector(response: AjaxResponse): T; /** * @type {string} */ responseType: string; }