/** * Enrich GitHub repository metadata from public HTML + shields.io. * * Used as a token-free fallback when GitHub REST quota is exhausted. * Scrapes the public github.com HTML page for license, language, * topics, and homepage. Falls back to shields.io for license when * the page render doesn't include the standard "X license" link text. * * The returned shape is compatible with the GitHub REST `repository` * block used in `data/records/.yml` for `kind: project` records, * so a subsequent token-backed sync can fill in the rest of the fields. */ export interface EnrichedFields { license: string | null; language: string | null; topics: string[]; homepage: string | null; } export interface EnrichResult { fields: EnrichedFields; notFound?: boolean; rateLimited?: boolean; error?: string; } export declare function enrichFromGithubHtml(repoUrl: string): Promise; //# sourceMappingURL=enrich.d.ts.map