/// <reference types="node" />
import { Agent } from 'http';
declare const utils: {
    /**
     * Generic POST request
     */
    call: (host: string, path: string, data: any, agent: Agent | undefined) => Promise<any>;
    /**
     * Java's stupid hashing method
     * @param  {Buffer|String} hash     The hash data to stupidify
     * @param  {String} encoding Optional, passed to Buffer() if hash is a string
     * @return {String}          Stupidified hash
     */
    mcHexDigest: (hash: Buffer | String, encoding?: String | undefined) => any;
    callbackify: (f: any, maxParams: number) => (...args: any[]) => any;
};
export = utils;
