import GlobalConfig from '../config/config';
import type { HttpRequestOption, HttpResponseOption } from '../types';
export default class YGREQ {
    config: GlobalConfig;
    constructor(config: GlobalConfig);
    static createYGREQ(config: GlobalConfig): YGREQ;
    handelHeaders(opt: Record<string, any>): any;
    Req(opt: HttpRequestOption): Promise<HttpResponseOption>;
    ReqAnyData(opt: HttpRequestOption): Promise<any>;
    getCode(): any;
}
