import { AxiosError, AxiosResponse } from 'axios'; import { JSONObject, JSONValue } from './types'; declare const wrapper: { get: (url: string, config?: JSONValue) => Promise>; post: (url: string, data?: JSONValue, config?: JSONObject) => Promise>; patch: (url: string, data?: JSONValue, config?: JSONObject) => Promise>; put: (url: string, data?: JSONValue, config?: JSONObject) => Promise>; delete: (url: string, config?: JSONObject) => Promise>; }; export default wrapper; export declare function getErrorResponse(error: AxiosError | unknown): any; export declare function getErrorMessage(error: any | Error | AxiosError): string; export declare function printHttpError(message: string, error: unknown | AxiosError): string;