import { spawn } from 'node:child_process'; import type { CliArgs } from './cli.js'; export declare const activeProcesses: Set; export declare function cleanupProcesses(): void; export declare const UNIQUE_ID: `${string}-${string}-${string}-${string}-${string}`; export declare const RECORD_SEPARATOR: string; export declare const FIELD_SEPARATOR: string; export declare const NUMSTAT_BOUNDARY_STR: string; export declare const PATCH_BOUNDARY_STR: string; export declare function setupGitProcessLifecycle(proc: ReturnType, ac: AbortController, functionName: string): { resetTimeout: () => void; processComplete: Promise; getStreamError: () => Error | null; clearTimeouts: () => void; cleanup: () => void; }; export declare function getGitTagRange(cwd?: string): { range: string; isFallback: boolean; headSha: string; }; export declare function buildGitBaseArgs(args: CliArgs, targetRange: string | undefined): string[]; export declare function streamGitRecords(args: string[], cwd?: string, maxBufferLimit?: number): AsyncGenerator; export declare function spawnGitBinaryStream(args: string[], boundaryStr: string, stdinShas?: string, maxBufferLimit?: number, cwd?: string): AsyncGenerator; //# sourceMappingURL=git-runner.d.ts.map