/** * Declarative scope for each rule ID. * - "page": output depends only on a single parsed page. * - "corpus": output requires the full set of pages (clustering, cross-page comparisons). * * Diff-audit dispatch reads this map and skips corpus rules when `state.since` is set. */ export type RuleScope = "page" | "corpus"; export declare const RULE_SCOPE: Record; /** Returns true when the rule may run in diff (page-scoped) mode. Unknown ids default to corpus (safer). */ export declare function isRuleAllowedInDiff(ruleId: string): boolean; /** * Canonical count of user-facing **scored** rules — every rule in `RULE_SCOPE` * except internal `audit/*` diagnostics (which never enter the scored category * buckets; see `auditor.ts` CATEGORY_MAP `audit: "audit"` with weight 0). * Derived from the registry so the public "N rules" copy can't drift. */ export declare const SCORED_RULE_COUNT: number; //# sourceMappingURL=scope.d.ts.map