import { ResponseType } from 'axios';
declare class HTTP {
    private timeout;
    private responseType;
    constructor();
    setHeader(key: string, val: string | number): this;
    setResponseType(responseType: ResponseType): this;
    setOptions(args: {
        timeout?: number;
        proxy?: string;
    }): this;
    fetch(url: string): Promise<any>;
}
declare const http: HTTP;
export { http };
