import type { OpenPondProfileGitState } from "./local-profile-types.js"; export declare function ensureProfileGitRepo(repoPath: string): Promise; export declare function loadProfileGitState(repoPath: string): Promise; export declare function commitProfileChanges(repoPath: string, message: string): Promise<{ committed: boolean; stdout: string; stderr: string; state: OpenPondProfileGitState; }>; export declare function profileGitHead(repoPath: string): Promise; export type ProfileBenchmarkGitReceipt = { ref: string; commit: string; baseCommit: string; paths: string[]; }; /** * Preserves a benchmark result without changing the checked-out branch, index, * or worktree. The caller supplies the complete bounded files to add on top of * the admitted Profile commit; large run artifacts remain in managed storage. */ export declare function commitProfileBenchmarkRef(input: { repoPath: string; runId: string; baseCommit?: string | null; files: Array<{ path: string; contents: string | Uint8Array; }>; message?: string; }): Promise; export declare function runGitCommand(repoPath: string, args: string[], options?: { env?: NodeJS.ProcessEnv; input?: string | Uint8Array; }): Promise<{ code: number | null; stdout: string; stderr: string; }>;