/** * Shell command execution utilities */ export interface CommandResult { stdout: string; stderr: string; exitCode: number; } /** * Run command in background without waiting for it to complete * Similar to bash: nohup command & disown */ export declare function runCommandInBackground(command: string, args?: string[], options?: { cwd?: string; }): void; /** * Run a shell command */ export declare function runCommand(cmd: string, options?: { cwd?: string; silent?: boolean; suppressErrors?: boolean; }): Promise; /** * Run command and return full result including exit code */ export declare function runCommandDetailed(cmd: string, options?: { cwd?: string; }): Promise; /** * Check if a command exists (cross-platform) */ export declare function commandExists(cmd: string): Promise; /** * Check if we're in a git repository */ export declare function isGitRepo(): Promise; /** * Get current git branch */ export declare function getCurrentBranch(): Promise; /** * Get repository root directory * Normalizes path for cross-platform compatibility (Git Bash on Windows returns Unix paths) */ export declare function getRepoRoot(): Promise; /** * Run a command with stdin input */ export declare function runCommandWithStdin(cmd: string, stdin: string, options?: { cwd?: string; silent?: boolean; }): Promise; //# sourceMappingURL=shell.d.ts.map