/**
 * Public API of the markdown rule engine.
 *
 * Re-exports everything that was previously exported from markdown-rules.ts
 * so callers (markdown-parser.ts, tests) need no changes.
 */

// Block rule factories
export {
  createBlockquoteRule,
  createBlockRules,
  createHeadingRule,
} from "@/lib/markdown-rules/block-rules"
// Engine
export { MarkdownRuleEngine } from "@/lib/markdown-rules/engine"
// Inline rule factories (consumed by tests and markdown-parser.ts)
export {
  createBlockRefRule,
  createDelimitedRule,
  createHighlightRule,
  createImageRule,
  createInlineMathRule,
  createInlineRules,
  createLinkRule,
  createPageRefRule,
  createTagRule,
  findChildByTypeName,
  findChildrenByTypeName,
} from "@/lib/markdown-rules/inline-rules"
// Types
export type {
  BlockDecoration,
  BlockRefDecoration,
  BlockRule,
  CalloutType,
  DecorationRange,
  HighlightDecoration,
  ImageDecoration,
  InlineMathDecoration,
  MarkdownRule,
  PageRefDecoration,
  ParseContext,
  ParsedDecorations,
  ParsedToken,
  PropertyInfo,
  TagDecoration,
  TaskState,
  TokenDecoration,
} from "@/lib/markdown-rules/types"
