/** * Git Utilities * Detect current repository from git configuration */ /** Result of repository detection */ export interface RepoDetectionResult { /** GitHub URL of the repository */ url: string; /** Detected branch name */ branch: string; /** Root directory of the repository */ rootDir: string; } /** * Find the git root directory by walking up from current directory */ export declare function findGitRoot(startDir?: string): Promise; /** * Normalize a git remote URL to a standard GitHub URL format */ export declare function normalizeGitUrl(url: string): string; /** * Detect the current repository from git configuration */ export declare function detectRepository(workingDir?: string): Promise; /** * Extract owner and repo name from a GitHub URL */ export declare function parseGitHubUrl(url: string): { owner: string; repo: string; } | null; //# sourceMappingURL=git.d.ts.map