/**
 * Git-related utility functions
 */
import * as child_process from 'child_process';
declare const exec: typeof child_process.exec.__promisify__;
/**
 * Execute a command safely using CommandValidator
 */
export declare function safeExec(command: string, args: string[], options?: {
    cwd?: string;
    timeout?: number;
}): Promise<{
    stdout: string;
    stderr: string;
}>;
/**
 * Execute a command using exec (use only for trusted input)
 */
export { exec };
/**
 * Get current git branch
 */
export declare function getCurrentGitBranch(cwd: string): Promise<string>;
/**
 * Get current git commit hash
 */
export declare function getCurrentGitCommit(cwd: string): Promise<string>;
/**
 * Check if git repository has uncommitted changes
 */
export declare function hasUncommittedChanges(cwd: string): Promise<boolean>;
//# sourceMappingURL=git.d.ts.map