import { InternalAxiosRequestConfig } from "axios";
import { RequestSetting, RequestConfig, RequestWrapperProps } from "./type";
export declare const getRequestHeaders: (config: InternalAxiosRequestConfig<RequestSetting> & Record<string, any>) => Record<string, string | null>;
/**
 * @title: 请求前拦截
 * @description:
 * @param {any} config
 * @return {*}
 * @Author: zhiwei.Wang
 * @Date: 2024-07-04 10:51
 */
export declare const interceptorsRequest: (config: InternalAxiosRequestConfig<RequestSetting> & Record<string, any>) => Promise<InternalAxiosRequestConfig<RequestSetting> & Record<string, any>>;
/**
 * @title: 请求前error
 * @description:
 * @param {any} err
 * @return {*}
 * @Author: zhiwei.Wang
 * @Date: 2024-07-04 10:51
 */
export declare const interceptorsRequestError: (err: RequestConfig["interceptorsRequestError"]) => any;
/**
 * @title: 请求后拦截
 * @description:
 * @param {any} response
 * @return {*}
 * @Author: zhiwei.Wang
 * @Date: 2024-07-04 10:51
 */
export declare const interceptorsResponse: (response: RequestConfig["interceptorsResponse"]) => any;
/**
 * @title: 请求后错误拦截
 * @description:
 * @param {any} response
 * @return {*}
 * @Author: zhiwei.Wang
 * @Date: 2024-07-04 10:51
 */
export declare const interceptorsResponseError: (response: RequestConfig["interceptorsResponseError"]) => any;
export declare const requestCallback: (resData: {
    res?: any;
    props: RequestWrapperProps;
    resolve: (value: unknown) => void;
    reject: () => void;
    err?: any;
}) => void;
