/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { Storage } from '../config/storage.js'; export declare class GitService { private projectRoot; private storage; constructor(projectRoot: string, storage: Storage); private getHistoryDir; initialize(): Promise; verifyGitAvailability(): Promise; /** * Creates a hidden git repository in the project root. * The Git repository is used to support checkpointing. */ setupShadowGitRepository(): Promise; private get shadowGitRepository(); getCurrentCommitHash(): Promise; createFileSnapshot(message: string): Promise; restoreProjectFromSnapshot(commitHash: string): Promise; }