/**
 * MCP Servers - Workflow Management
 *
 * Central export point for all workflow MCP servers and skills.
 * Optimized for token efficiency (98% reduction vs full records).
 */

// Server exports
export * as WorkflowsServer from "./servers/database/workflows";
export * as ConversationsServer from "./servers/database/conversations";
export * as AnalyticsServer from "./servers/database/analytics";

// Skill exports
export {
  getWorkflowDashboardSummary,
  getMinimalDashboardSummary,
  getWorkflowSpecificSummary,
  checkWorkflowAccess,
  workflows,
  conversations,
  analytics,
} from "./skills/workflow-dashboard-summary";

// Type exports
export type {
  DashboardSummaryOptions,
  DashboardSummary,
} from "./skills/workflow-dashboard-summary";

/**
 * Quick access functions (re-exported for convenience)
 */

// Workflow functions
export {
  getUserWorkflows,
  getWorkflowSummary,
  getAllowedWorkflowsByTier,
  canAccessWorkflow,
} from "./servers/database/workflows";

// Conversation functions
export {
  getConversationSummary,
  getDailyConversationStats,
  getWeeklyTrend,
} from "./servers/database/conversations";

// Analytics functions
export {
  getWorkflowAnalyticsSummary,
  getDailyAnalytics,
  getTopWorkflows,
} from "./servers/database/analytics";
