import { type ParsedGitUrl } from '@vibe-agent-toolkit/utils'; /** Result of a shallow git clone: the resolved ref, full commit SHA, and target dir. */ export interface GitCloneResult { /** The ref cloned (the requested `--branch `, or 'HEAD' for the default branch). */ ref: string; /** Full 40-char resolved HEAD commit SHA. */ commit: string; /** The (subpath-resolved) directory the caller should consume. */ targetDir: string; } /** * Shallow-clone `parsed` into the caller-provided `targetTempdir`, validate any * subpath, and return the resolved ref/commit/targetDir. * * Neutral domain primitive: it does NOT create or clean the tempdir, and carries * no audit/provenance coupling. Callers (audit's withClonedRepo, the url skill * source) own tempdir lifecycle. Extracted verbatim from the original audit helper * so audit behavior is unchanged (spec ยง11c regression requirement). */ export declare function cloneGitSource(parsed: ParsedGitUrl, targetTempdir: string): GitCloneResult; //# sourceMappingURL=git-clone.d.ts.map