/**
 * Define axios instance
 * @type {AxiosInstance}
 */
declare const http: import("axios").AxiosInstance;
/**
 * setSupportWithCredentials
 * Disable/enable withCredentials
 * Bypass cookie if disabled
 * @param enable
 */
export declare function setSupportWithCredentials(enable: boolean): void;
/**
 * setBasePortal
 * Set base path of all http requests
 * @param portal
 */
export declare function setBasePortal(portal: string): void;
/**
 * setAuthorizeToken
 * Set authorization header for all http requests
 * @param token
 */
export declare function setAuthorizeToken(token: string): void;
export declare function defaultError(error: {
    request?: any;
    message?: any;
}): void;
export declare function formatHttpError(error: any): any;
export default http;
//# sourceMappingURL=http.d.ts.map