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