import type { GitCommit, RepositoryInfo, FileStats } from './types'; import type { ExtractionConfig } from '../config/types'; /** * Get information about the current git repository */ export declare function getRepositoryInfo(path?: string): RepositoryInfo; /** * Get the current git user's name */ export declare function getCurrentGitUser(repositoryPath?: string): string; /** * Parse git --numstat output into FileStats array * Format: "additions\tdeletions\tpath" * Binary files show as "-\t-\tpath" */ export declare function parseNumstat(numstatOutput: string): FileStats[]; /** * Collects Git commit data for a given branch and maxCommits count. * Only collects commits authored by the current git user. */ export declare function collectGitCommits(branch: string, maxCommits: number, repository: string): GitCommit[]; /** * Collect Git commits with optional enhanced data (stats and/or diffs) */ export declare function collectGitCommitsEnhanced(branch: string, maxCommits: number, repository: string, extractionConfig?: ExtractionConfig): GitCommit[]; /** * Extract repository name from remote URL */ export declare function getRepositoryName(remoteUrl: string): string; /** * Get the name of the current repository from the remote URL or directory name */ export declare function getCurrentRepoName(): Promise; //# sourceMappingURL=operations.d.ts.map