/** * Factory: create a configured axios instance. * @param {object} options * @param {boolean} [options.enableAuthRedirect=true] - redirect to /login on 401 * @param {object} [options.defaultOpenHeaders] - headers used for open endpoints */ export function createHttpClient({ enableAuthRedirect, defaultOpenHeaders, }?: { enableAuthRedirect?: boolean; defaultOpenHeaders?: object; }): { instance: import("axios").AxiosInstance; axiosGet: (url: any, params: any, customHeader?: {}) => Promise>; axiosDelete: (url: any, data: any, customHeader?: {}) => Promise>; axiosPost: (url: any, data?: {}, customHeader?: {}) => Promise>; axiosPut: (url: any, data?: {}, customHeader?: {}) => Promise>; axiosPatch: (url: any, data?: {}, customHeader?: {}) => Promise>; }; export function axiosGet(url: any, params: any, customHeader?: {}): Promise>; export function axiosDelete(url: any, data: any, customHeader?: {}): Promise>; export function axiosPost(url: any, data?: {}, customHeader?: {}): Promise>; export function axiosPut(url: any, data?: {}, customHeader?: {}): Promise>; export function axiosPatch(url: any, data?: {}, customHeader?: {}): Promise>; export const http: import("axios").AxiosInstance;