import { Interceptors } from "../types/Interceptors";
declare class InterceptorRunner {
    interceptors: Interceptors;
    constructor();
    /**
     * 请求
     * @param config 请求参数
     * @returns
     */
    request(config: any, handler?: Function): Promise<any>;
    /**
     * get请求
     * @param url
     * @param opts
     * @returns
     */
    run(str: any, callback?: Function): Promise<any>;
}
export default InterceptorRunner;
