import { AjaxConfig, ResponseSchema, ExtraConfig } from "./abstracts"; export declare const axios: () => Function; export type Data = FormData | Record; export declare function sendAjax(ajaxConfig: AjaxConfig): Promise; export declare function sendAjaxSync(ajaxConfig: AjaxConfig, onResponse?: (res: ResponseSchema) => Promise, onRejected?: (e: any) => Promise): void; export declare function sendContainerAjax(ajaxConfig: AjaxConfig, container: HTMLElement): Promise; export declare function sendContainerDataAjaxSync(ajaxConfig: AjaxConfig, container: HTMLElement, onResponse?: (res: ResponseSchema) => Promise, onRejected?: (e: any) => Promise): void; export declare function sendFormAjax(form: HTMLFormElement, extra?: ExtraConfig): Promise; export declare function sendFormAjaxSync(form: HTMLFormElement, extra?: ExtraConfig, onResponse?: (res: ResponseSchema) => Promise, onRejected?: (e: any) => Promise): void;