/**
* run given function from this, use function(error, result) {...} callback for promise resolve/reject
* can be used like:
* api.helpers
*   .runFunctionAsPromise(fs, 'readFile', 'somefile.txt')
*   .then(content => console.log('file content: ' + content))
* ;
*
* @param  {Object} funThis      the functions 'this' object
* @param  {string} functionName name of the contract function to call
* @return {Promise}             resolves to: {Object} (the result from the function(error, result) {...} callback)
*/
export declare function promisify(funThis: any, functionName: any, ...args: any[]): Promise<any>;
/**
 * obfuscates strings by replacing each character but the last two with 'x'
 *
 * @param      {string}  text    text to obfuscate
 * @return     {string}  obfuscated text
 */
export declare function obfuscate(text: string): string;
