/*
 * File: index.ts
 * Description: Main exports for Dashboard module
 * Design & Developed by Tech4Biz Solutions
 * Copyright (c) Spurrin Innovations. All rights reserved.
 */

// Export screens
export { DashboardScreen } from './screens/DashboardScreen';

// Export navigation
export {
  DashboardStackNavigator,
  navigateToERDashboard,
  navigateToPatientDetails,
  navigateToAlertDetails,
  navigateToDepartmentStats,
  navigateToQuickActions,
  goBack,
  resetToERDashboard,
  replaceWithERDashboard,
  navigateToERDashboardAndClearStack,
  navigateToPatientDetailsAndClearStack,
  navigateToAlertDetailsAndClearStack,
} from './navigation';

// Export navigation types
export type {
  DashboardStackParamList,
  DashboardNavigationProp,
  DashboardScreenProps,
  PatientDetailsScreenProps,
  AlertDetailsScreenProps,
  DepartmentStatsScreenProps,
  QuickActionsScreenProps,
} from './navigation';

// Export components
export { CriticalAlerts, DashboardHeader, DepartmentStats } from './components';

// Export hooks
export * from './hooks';

// Export Redux
export {
  fetchDashboardData,
  refreshDashboardData,
  clearError,
  setFilter,
  setSort,
  updateConnectionStatus,
  updateLastUpdated,
  updateDashboardData,
} from './redux/dashboardSlice';

// Export AI Dashboard Redux
export {
  fetchAIDashboardStatistics,
  refreshAIDashboardStatistics,
  clearError as clearAIDashboardError,
  setTimeRange,
  setHospital,
  setDepartment,
  updateDashboardData as updateAIDashboardData,
} from './redux/aiDashboardSlice';

// Export AI Dashboard Selectors
export {
  selectAIDashboardData,
  selectAIDashboardLoading,
  selectAIDashboardRefreshing,
  selectAIDashboardError,
  selectDashboardMessage,
  selectTotalPredictions,
  selectTotalPatients,
  selectTotalFeedbacks,
  selectFeedbackRatePercentage,
  selectAverageConfidenceScore,
  selectCriticalCasePercentage,
  selectConfidenceScores,
  selectUrgencyLevels,
  selectFeedbackAnalysis,
  selectTimeAnalysis,
} from './redux/aiDashboardSelectors';

/*
 * End of File: index.ts
 * Design & Developed by Tech4Biz Solutions
 * Copyright (c) Spurrin Innovations. All rights reserved.
 */ 