export declare function createXMLHttpRequest(): any; export declare function ajax(url: string, options?: { method: string; data?: Record | FormData; multipartFormDataString?: string; boundary?: string; headers?: Record; withCredentials?: boolean; responseType?: "" | "json" | "arraybuffer" | "blob" | "document" | "text"; timeout?: number; progress?: (e: any, xhr: XMLHttpRequest, percentage: number) => void; load?: (e: any, xhr: XMLHttpRequest) => void; loadstart?: (e: any, xhr: XMLHttpRequest) => void; loadend?: (e: any, xhr: XMLHttpRequest) => void; error?: (e: any, xhr: XMLHttpRequest) => void; abort?: (e: any, xhr: XMLHttpRequest) => void; }): Promise; export declare function getFormSubmitData(formElement: HTMLFormElement): Promise<{ url: string; data: Record; contentType: string; multipartFormDataString: string; boundary: string; }>; //# sourceMappingURL=ajax.d.ts.map