import type { RuntimeGitCheckoutResponse, RuntimeGitDiscardResponse, RuntimeGitSyncAction, RuntimeGitSyncResponse, RuntimeGitSyncSummary } from "../core/api-contract.js";
export interface GitWorkspaceProbe {
    repoRoot: string;
    headCommit: string | null;
    currentBranch: string | null;
    upstreamBranch: string | null;
    aheadCount: number;
    behindCount: number;
    changedFiles: number;
    untrackedPaths: string[];
    stateToken: string;
}
export declare function probeGitWorkspaceState(cwd: string): Promise<GitWorkspaceProbe>;
export declare function getGitSyncSummary(cwd: string, options?: {
    probe?: GitWorkspaceProbe;
}): Promise<RuntimeGitSyncSummary>;
export declare function runGitSyncAction(options: {
    cwd: string;
    action: RuntimeGitSyncAction;
}): Promise<RuntimeGitSyncResponse>;
export declare function runGitCheckoutAction(options: {
    cwd: string;
    branch: string;
}): Promise<RuntimeGitCheckoutResponse>;
export declare function discardGitChanges(options: {
    cwd: string;
}): Promise<RuntimeGitDiscardResponse>;
//# sourceMappingURL=git-sync.d.ts.map