import { SpawnOptions as NodeSpawnOptions } from 'child_process'; import { Subprocess } from './Subprocess'; import { SubprocessResult } from './SubprocessResult'; export interface StartShellCommandOptions extends NodeSpawnOptions { enableOutputBuffering?: boolean; onStdout?: (line: string) => void; onStderr?: (line: string) => void; } export declare function startShellCommand(command: string, args?: string[], options?: StartShellCommandOptions): Subprocess; export declare function runShellCommand(command: string, args?: string[], options?: StartShellCommandOptions): Promise;