import type { AssetStatus, AuthorityTier } from "./types.js"; /** * Fetches an official index page once and extracts the structured fallback * summary plus any advertised backing GitHub repository URL. */ export declare function fetchOfficialIndexPageInfo(url: string): Promise<{ content: string | null; repositoryUrl: string | null; }>; /** * Fetches official index page content with the configured runtime safeguards. */ export declare function fetchOfficialIndexPageContent(url: string): Promise; /** * Fetches an official index page and extracts a backing GitHub repository URL * when one is explicitly advertised. */ export declare function fetchOfficialIndexPageRepositoryUrl(url: string): Promise; /** * Builds official index asset status from the provided inputs. */ export declare function buildOfficialIndexAssetStatus(authorityTier: AuthorityTier): AssetStatus; declare function extractOfficialIndexPageSummary(html: string, url: string, options?: { installCommand?: string | null; githubUrl?: string | null; }): string; declare function buildKeyPoints(input: { description: string | null; installCommand: string | null; githubUrl: string | null; useCases: string[]; }): string[]; declare function extractGitHubUrl(html: string, installCommand: string | null): string | null; declare function extractSectionContent(heading: string, html: string): string | null; declare function normalizeGitHubRepositoryUrl(url: string | null): string | null; /** * Exposes narrow official-index internals for focused behavioral coverage. */ export declare const officialIndexInternals: { buildKeyPoints: typeof buildKeyPoints; extractGitHubUrl: typeof extractGitHubUrl; extractOfficialIndexPageSummary: typeof extractOfficialIndexPageSummary; extractSectionContent: typeof extractSectionContent; normalizeGitHubRepositoryUrl: typeof normalizeGitHubRepositoryUrl; }; export {};