import type { DevToolsSys } from "types";
export interface RunCommandOptions {
    cwd?: string;
    debug?: boolean;
    sys: DevToolsSys;
    timeout?: number;
    stdin?: string;
    retry?: number;
}
export declare function runCommand(cmd: string, args: string[], opts: RunCommandOptions): Promise<string>;
export declare const isGitRepoCorrupted: (stdout: string, stderr: string) => boolean;
