import { ShellArray } from 'shelljs'; export declare const printCmdRet: (ret: ShellArray) => void; export interface ICmdOptions { [key: string]: boolean | undefined; } /** * 将Command解析出来的object对象,转换成命令行需要的字符串 * @example { f: true, R: true } => '-fR' */ export declare function joinCmdArgv(options: ICmdOptions): string; /** 用于将任意字符串和字符串数组拼接成统一的字符串数组 */ export declare function joinStringArr(...args: (string | string[])[]): string[]; /** 获取数组中最后一个元素 */ export declare function getLastEle(arr: T[]): T | undefined;