/** * Clone Helper for `specweave get` * * Foreground git clone with idempotency and helpful auth error messages. */ import type { ParsedSource } from './source-parser.js'; export interface CloneOptions { branch?: string; } export interface CloneResult { /** true if clone happened, false if skipped */ cloned: boolean; /** absolute path to the repo directory */ repoPath: string; /** reason clone was skipped, if applicable */ skippedReason?: string; } /** * Clone a repository to targetDir. * Idempotent: if targetDir/.git already exists, skips clone. */ export declare function cloneRepo(source: ParsedSource, targetDir: string, options?: CloneOptions): Promise; //# sourceMappingURL=clone-repo.d.ts.map