/**
 * Git ref/URL validation utilities — shared across tools that invoke git.
 * Prevents command injection when refs/URLs are passed to execFileSync.
 */
/** Allows alphanumeric, `/`, `.`, `-`, `_`, `~`, `^`, `@`, `{`, `}`. */
export declare const GIT_REF_PATTERN: RegExp;
export declare function validateGitRef(ref: string): void;
/** Allows HTTPS, SSH, git://, and file:// protocols. */
export declare const GIT_URL_PATTERN: RegExp;
export declare function validateGitUrl(url: string): void;
//# sourceMappingURL=git-validation.d.ts.map