import type { PiExecApi } from "../types.js"; export interface GitExecOptions { repoDir?: string; } export declare function cloneIfMissing(pi: PiExecApi, repoUrl: string, repoDir: string): Promise; export declare function statusPorcelain(pi: PiExecApi, repoDir: string): Promise; export declare function commitAll(pi: PiExecApi, repoDir: string, message: string): Promise; export declare function push(pi: PiExecApi, repoDir: string): Promise; export declare function pushResult(pi: PiExecApi, repoDir: string): Promise<{ ok: boolean; stderr: string; }>; export declare function fetch(pi: PiExecApi, repoDir: string): Promise; export declare function countIncomingCommits(pi: PiExecApi, repoDir: string): Promise; export declare function pullFastForward(pi: PiExecApi, repoDir: string): Promise; export declare function pullRebase(pi: PiExecApi, repoDir: string): Promise; export declare function isNonFastForwardPush(stderr: string): boolean; export declare function diffStat(pi: PiExecApi, repoDir: string): Promise; export declare function logOneline(pi: PiExecApi, repoDir: string, count?: number): Promise;