import type { CanonicalResult, RuleInput } from '../types.js'; export type CanonicalRuleOptions = { /** Expected canonical URL. If provided, the rule checks this value matches. */ expectedUrl?: string; }; /** * Validates the presence of a canonical link element. * * Pass: exists with a non-empty href * Fail: canonical link missing, href empty, or (if expectedUrl given) value mismatch */ export declare function checkCanonical(input: RuleInput, options?: CanonicalRuleOptions): CanonicalResult; //# sourceMappingURL=canonical.d.ts.map