///
/**
* Created by Ivo Meißner on 18.04.18
*
* @flow
*/
import { SpawnOptions } from 'child_process';
declare type ApiResult = string;
/**
* Runs a command passing the args and if provided pipes the stdin to the process
*
* @param command
* @param args
* @param stdin
* @param options Options for child_prodcess.spawn
* @returns {Promise.<*>}
* @private
*/
export default function execute(command: string, args?: ReadonlyArray, stdin?: string | null, options?: SpawnOptions): Promise;
export {};