type HttpConfig = {
    timeout?: number;
    headers?: any;
};
declare enum HttpMethod {
    GET = "GET",
    POST = "POST"
}
type RequestData = {
    uri: string;
    method: HttpMethod;
    timeout: number;
    gzip: boolean;
    headers: any;
};
export declare class ServerNet {
    static handleCallback: (resolve: Function, reject: Function, reqData: RequestData) => void;
    static httpGet(url: string, params: any, cb?: Function, config?: any): Promise<unknown>;
    static httpPost(url: string, params: any, cb?: Function, config?: HttpConfig): Promise<unknown>;
}
export {};
