import type { AxiosResponse, CreateAxiosDefaults, InternalAxiosRequestConfig } from 'axios';
export interface CreateAxiosConfig extends CreateAxiosDefaults {
    baseURL: string;
    /**服务器调用成功的code 一般是 0 或 200 */
    successCode: number | number[];
    hideAuthorization?: boolean;
    isUseParamsToken?: boolean;
}
export declare function createAxios(config: CreateAxiosConfig, options?: {
    requestInterceptors?: (config: InternalAxiosRequestConfig<any>) => any;
    responseInterceptors?: (response: AxiosResponse<any, any, {}>) => any;
}): {
    service: import("axios").AxiosInstance;
};
