/**
 * nodejs 中调用 child_process.execSync 执行命令，
 * 这个方法会对输出结果截断，只返回第一行内容
 * @param {string} command 命令
 * @param {string} root 执行命令的目录
 * @param {string | object} stdio 结果输出，默认为 pipe
 * @returns {string} 命令执行结果
 */
export declare function execCommand(command: string, root?: string, options?: string | {
    stdio?: string;
    line?: number;
}): string;
/**
 * nodejs中调用 child_process.execSync 执行命令
 * @param {string} command 命令
 * @param {string} root 执行命令的目录
 * @param {string} stdio 结果输出，默认为 pipe
 * @returns {string} 命令执行结果
 */
export declare function execCommandAll(command: string, root?: string, stdio?: string): string;
