import { AxiosInstance } from 'axios'; export type Config = { api?: AxiosInstance; }; /** * Configures the MadConnect library axios instance. * * @param {AxiosInstance} api An axios instance with extra configurations like interceptors */ export declare function configureApi(api: AxiosInstance): void; /** * Returns the config for the mad-connect library. * * @returns The Config */ export declare function getConfig(): Config; /** * Convenience function to return 'api' from the config. * * Returns either a custom axios instance configured by * the user via 'configureApi' or the default axios * implementation provided by the Axios library. * * @export * @returns {AxiosInstance} Either the default axios or the configured axios instance. */ export declare function getApi(): AxiosInstance;