import type { TestResult, RuleInput } from '../types.js'; export type HreflangEntry = { hreflang: string; href: string; }; export type HreflangResult = TestResult; /** * Validates hreflang link elements for multilingual sites. * * Checks: * 1. Each hreflang entry has a non-empty href * 2. hreflang values are valid BCP 47 language tags (or x-default) * 3. If multiple hreflang links exist, x-default should be present * 4. No duplicate hreflang values * 5. Each alternate page should contain a reciprocal hreflang pointing back * (reciprocal check is a warning only — requires fetching alternates) * * Pass: all present hreflang annotations are consistent * Skip (pass with message): page has no hreflang annotations */ export declare function checkHreflang(input: RuleInput): HreflangResult; //# sourceMappingURL=hreflang.d.ts.map