///
export declare function ajaxSubmit($object: JQuery, options: any): Promise;
export declare function muteForm($object: JQuery, isMute?: boolean): JQuery;
export declare function muteClickControls(x?: any): string;
export declare function muteEditControls(x?: any): string;
export declare function disableAutoAjax(arg: any): void;
export interface ResponseObject extends Error {
status: number;
message: string;
[id: string]: any;
}
export interface EventFunction {
(event: JQueryEventObject, data: ResponseObject): any;
}
export declare function beforeAjax(object: string | JQuery, fn: EventFunction): void;
export declare function listenSuccess(form: JQuery | string, fn: EventFunction): void;
export declare function listenError(form: JQuery | string, fn: EventFunction): void;
export declare function registerGlobalHandlers(): void;