export interface GitHubRepo { owner: string; repo: string; } /** * Builds a Maven POM URL from repository URL and artifact coordinates. */ export declare function buildPomUrl(repoUrl: string, groupId: string, artifactId: string, version: string): string; /** * Extracts GitHub owner/repo from POM XML using regex-based parsing. * * Priority: * 1. * 2. * 3. * 4. Root (outside ) */ export declare function extractGitHubRepo(pomXml: string): GitHubRepo | null; /** * Extracts the raw SCM URL from POM XML (any host, not only GitHub). Used to * report where the source lives even when GitHub-specific metrics are * unavailable (GitLab/Bitbucket/self-hosted/closed source). * * Priority mirrors extractGitHubRepo: → * → root . */ export declare function extractScmUrl(pomXml: string): string | null; /** * Extracts declared license names from POM XML (). * Regex-based to honour the "no XML parser dependency" non-negotiable. */ export declare function extractLicenses(pomXml: string): string[];