export { createAgentsMdCache, createRuleScanCache } from "./cache";
export { findAgentsMdUp, type FindAgentsMdUpInput } from "./agents-md";
export { findRuleFiles } from "./finder";
export { parseRuleFrontmatter } from "./parser";
export { shouldApplyRule, createContentHash, isDuplicateByContentHash, isDuplicateByRealPath, resetMatcherCache, getMatcherCacheStats } from "./matcher";
export { findProjectRoot, clearProjectRootCache } from "./project-root";
export { calculateDistance } from "./distance";
export { findRuleFilesRecursive, safeRealpathSync } from "./scanner";
export type {
  AgentsMdCache,
  DirectoryScanEntry,
  FindRuleFilesOptions,
  MatchResult,
  RuleFileCandidate,
  RuleFrontmatterResult,
  RuleMetadata,
  RuleScanCache,
  RuleScanCacheStats,
  RuleSource,
} from "./types";
