import type { GitDiffSummary } from './git-types.js';
export interface GitDiffOptions {
    timeoutMs?: number;
    maxFiles?: number;
    maxBytes?: number;
    /**
     * When set, diff `<baseRef>...HEAD` (merge-base range — "what this branch
     * adds on top of base") instead of the working tree. Staged/untracked
     * sections do not apply in this mode.
     */
    baseRef?: string;
}
export interface GitFileDiffResult {
    workspace: string;
    repoRoot: string;
    isGitRepo: true;
    path: string;
    diff: string;
    truncated: boolean;
    lastCheckedAt: number;
}
export declare function getGitDiffSummary(workspace: string, options?: GitDiffOptions): Promise<GitDiffSummary>;
export declare function getGitFileDiff(workspace: string, filePath: string, options?: GitDiffOptions): Promise<GitFileDiffResult>;
