/**
 * Runs a shell command passing it an optional input as stdin. Throws on errors.
 * Returns the lines of stdout. If onOutArg is absent, then stderr of the
 * process to piped to logging's stderr. Otherwise, onOutArg() is called with
 * the full output (combined stdout + stderr) on every data chunk and also every
 * ~1 second if there is no activity (that allows the caller to e.g. prepend
 * ticking timestamps to the output lines to emphasize that the process is still
 * alive). If onOutArg="progress", then last MAX_PROGRESS_LINES lines of the
 * output are progress-printed (with ticking timestamps prepended) and then
 * erased in the end.
 */
export declare function runShell(cmd: string, input: string | null, comment?: string, showProgress?: "progress.unlogged" | "progress"): Promise<string>;
//# sourceMappingURL=runShell.d.ts.map