import { ReviewTarget } from "./config.js"; /** * Gets the git diff for the specified target. * * @param target - The git target to review ('staged', 'HEAD', or 'branch_diff') * @param baseBranch - For 'branch_diff' target, the base branch/commit to compare against * @returns The git diff as a string or a message if no changes are found * @throws Error if not in a git repository, or if git encounters any errors * * Note: For branch_diff, this function assumes the remote is named 'origin'. * If your repository uses a different remote name, this operation may fail. */ export declare function getGitDiff(target: ReviewTarget, baseBranch?: string): string;