/** * Shell Utility * * Run shell commands with proper error handling */ export interface RunCommandOptions { cwd?: string; silent?: boolean; env?: NodeJS.ProcessEnv; } /** * Run a shell command and return a promise */ export declare function runCommand(cmd: string, options?: RunCommandOptions): Promise; export interface CaptureResult { code: number; stdout: string; stderr: string; } /** * Run a command (argv form, no shell) and capture stdout/stderr instead of * streaming. Never throws on non-zero exit — callers inspect `code`; only * spawn failures (binary missing) reject. */ export declare function runCommandCapture(command: string, args: string[], options?: { cwd?: string; env?: NodeJS.ProcessEnv; }): Promise; //# sourceMappingURL=shell.d.ts.map