import type { DiffInfo } from './types.js'; export declare function assertGitRepository(cwd: string): void; export declare function getDiffInfo(cwd: string, base?: string): DiffInfo; export declare function readFileAtRef(cwd: string, ref: string, filePath: string): string | null; export declare function readPackageJsonBeforeChange(diff: DiffInfo): string | null; //# sourceMappingURL=git.d.ts.map