import type { RuntimeGitCommitDiffResponse, RuntimeGitLogResponse, RuntimeGitRefsResponse } from "../core/api-contract.js";
export declare function getGitLog(options: {
    cwd: string;
    ref?: string | null;
    refs?: string[] | null;
    maxCount?: number;
    skip?: number;
}): Promise<RuntimeGitLogResponse>;
export declare function getGitRefs(cwd: string): Promise<RuntimeGitRefsResponse>;
export interface CommitDiffFile {
    path: string;
    previousPath?: string;
    status: "modified" | "added" | "deleted" | "renamed";
    additions: number;
    deletions: number;
    patch: string;
}
export declare function getCommitDiff(options: {
    cwd: string;
    commitHash: string;
}): Promise<RuntimeGitCommitDiffResponse>;
//# sourceMappingURL=git-history.d.ts.map