/** * Execute a command and return stdout * Uses spawnSync to properly handle arguments with special characters * Docker helpers put '--' before container names so a name like '--help' is never read as an option */ export declare function execCommand(command: string, args: string[]): string; /** * Execute a command asynchronously and return result * For docker commands that need async/await pattern */ export declare function execCommandAsync(command: string, args: string[], options?: { cwd?: string; }): Promise<{ code: number; stdout: string; stderr: string; }>; /** * Spawn a command with explicit argv (no shell), streaming complete stdout and * stderr lines to onLine as they arrive, and resolve with the exit code and the * captured output once the process closes. */ export declare function execCommandStreaming(file: string, args: string[], onLine: (line: string) => void, options?: { cwd?: string; env?: NodeJS.ProcessEnv; }): Promise<{ code: number; stdout: string; stderr: string; }>; //# sourceMappingURL=process.d.ts.map