export interface CommandResult {
    success: boolean;
    stdout: string;
    stderr: string;
    error?: Error;
}
/**
 * Execute a shell command and return the result
 */
export declare function runCommand(command: string, cwd: string): Promise<CommandResult>;
/**
 * Run npm test command and extract coverage
 */
export declare function runTestsWithCoverage(testPattern: string, cwd: string): Promise<{
    success: boolean;
    coverage: number;
    errors: string[];
}>;
/**
 * Check if a command exists
 */
export declare function commandExists(command: string, cwd: string): Promise<boolean>;
//# sourceMappingURL=commands.d.ts.map