pub mod analytics;
pub mod cache;
pub mod error;
pub mod event;
pub mod export;
pub mod graph;
pub mod live_monitor;
pub mod models;
pub mod parsers;
pub mod preferences;
pub mod pricing;
pub mod quota;
pub mod store;
pub mod usage_estimator;
pub mod watcher;
pub use analytics::{
compute_trends, detect_patterns, discover_call_llm, discover_collect_sessions,
discover_patterns, forecast_usage, generate_insights, run_discover, AnalyticsData,
DiscoverConfig, DiscoverSessionData, DiscoverSuggestion, ForecastData, LlmSuggestion, Period,
SuggestionCategory, TrendDirection, TrendsData, UsagePatterns,
};
pub use cache::{AggregateStats, SearchResult, StoredAlert};
pub use error::{CoreError, DegradedState, LoadReport};
pub use event::{DataEvent, EventBus};
pub use export::{
export_billing_blocks_to_csv, export_billing_blocks_to_json, export_billing_blocks_to_markdown,
export_sessions_to_csv, export_sessions_to_json, export_sessions_to_markdown,
export_stats_to_csv, export_stats_to_json, export_stats_to_markdown,
};
pub use live_monitor::{detect_live_sessions, LiveSession};
pub use models::activity::{
ActivitySummary, Alert, AlertCategory, AlertSeverity, BashCommand, FileAccess, FileOperation,
NetworkCall, NetworkTool, ToolCall as ActivityToolCall,
};
pub use quota::{calculate_quota_status, AlertLevel, QuotaStatus};
pub use store::{DataStore, ProjectLeaderboardEntry};
pub use usage_estimator::{calculate_usage_estimate, SubscriptionPlan, UsageEstimate};
pub use watcher::FileWatcher;