export declare enum VcsPushStatus { PushedToVcs = "PushedToVcs", OptedOutOfPushingToVcs = "OptedOutOfPushingToVcs", FailedToPushToVcs = "FailedToPushToVcs", SkippedGit = "SkippedGit" } export declare class GitHubPushError extends Error { readonly reason: 'gh-not-installed' | 'gh-auth-failed' | 'push-timeout' | 'push-failed' | 'env-skip'; constructor(message: string, reason: 'gh-not-installed' | 'gh-auth-failed' | 'push-timeout' | 'push-failed' | 'env-skip'); } export declare function checkGitVersion(): Promise; /** * Synchronously checks if git is available on the system. * Returns true if git command can be executed, false otherwise. */ export declare function isGitAvailable(): boolean; /** * Synchronously checks if GitHub CLI (gh) is available on the system. * Returns true if gh command can be executed within 2 seconds, false otherwise. */ export declare function isGhCliAvailable(): boolean; export declare function initializeGitRepo(directory: string, options: { defaultBase: string; commit?: { message: string; name: string; email: string; }; connectUrl?: string | null; }): Promise; export declare function pushToGitHub(directory: string, options: { skipGitHubPush?: boolean; name: string; defaultBase: string; verbose?: boolean; }): Promise; //# sourceMappingURL=git.d.ts.map