//! 核心服务模块
//! 
//! 包含文档处理、翻译、书签、笔记、代码阅读、进度同步、插件、性能优化、主题、渲染等功能

pub mod document;
pub mod translation;
pub mod bookmark;
pub mod note;
pub mod code_reader;
pub mod progress;
pub mod plugin;
pub mod performance;
pub mod theme;
pub mod renderer;
pub mod renderer_enhanced;
pub mod pdf_renderer;
pub mod math_renderer;

pub use document::DocumentEngine;
pub use translation::TranslationService;
pub use bookmark::{Bookmark, BookmarkManager, HighlightType};
pub use note::{Note, NoteManager, NoteType, ReadingSession, ReadingStats};
pub use code_reader::{CodeReader, CodeDocument, CodeLanguage};
pub use progress::{ReadingProgress, ProgressManager, SyncConfig, CloudSync};
pub use plugin::{PluginManager, Plugin, PluginManifest, PluginStatus, PluginInfo};
pub use performance::{PerformanceProfiler, PerformanceMetrics, CacheManager};
pub use theme::{ThemeManager, ThemeManifest, ThemeConfig, ThemeType, BuiltinThemes};
pub use renderer::{Renderer, RenderConfig, RenderTheme, DocumentType};
pub use renderer_enhanced::{EnhancedRenderer, TocGenerator, TocItem, ImageProcessor, ImageConfig, ViewerProps};
pub use pdf_renderer::{PdfRenderer, PdfDocument, PdfPage, PdfRenderConfig, PdfNavigation};
pub use math_renderer::{MathRenderer, MathFormula, MathType, KatexConfig, MathMarkdownRenderer};