/** * Built-in Advisor Rules — Canonical URL Sanity * * Pre-configured rules that catch known-bad canonical URLs in the FHIR * ecosystem. Based on Health Samurai's 2024 terminology data analysis: * four of the five most-referenced CodeSystems have documented typos. * * These rules ship as defaults — users can disable them individually. */ import type { AdvisorRule } from './advisor-rules'; export declare const CANONICAL_URL_SANITY_RULES: AdvisorRule[]; /** * Known canonical URL normalization mappings. * Left = what appears in resources, Right = correct canonical. */ export declare const CANONICAL_URL_NORMALIZATIONS: Array<{ pattern: string | RegExp; canonical: string; description: string; }>; /** * Normalize a canonical URL using the known mappings. * Returns the corrected URL if a match is found, or the original. */ export declare function normalizeCanonicalUrl(url: string): { normalized: string; wasNormalized: boolean; description?: string; }; //# sourceMappingURL=builtin-rules.d.ts.map