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

// Export screens
export { default as LoginScreen } from './screens/LoginScreen';
export { default as SignUpScreen } from './screens/SignUpScreen';

// Export navigation
export {
  AuthStackNavigator,
  AuthStackParamList,
  AuthNavigationProp,
  AuthScreenProps,
  LoginScreenProps,
  SignUpScreenProps,
  navigateToLogin,
  navigateToSignUp,
  goBack,
  resetToLogin,
  resetToSignUp,
  replaceWithLogin,
  replaceWithSignUp,
  navigateToSignUpAndClearStack,
  navigateToLoginAndClearStack,
} from './navigation';

// Export signup components
export {
  EmailStep,
  PasswordStep,
  NameStep,
  DocumentUploadStep,
  HospitalSelectionStep,
  EmailAlreadyRegisteredModal,
} from './components/signup';

// Export services
export { authAPI } from './services/signupAPI';

// Export types
export type {
  SignUpData,
  SignUpStep,
  EmailStepProps,
  PasswordStepProps,
  NameStepProps,
  DocumentUploadStepProps,
  HospitalSelectionStepProps,
  EmailValidationApiResponse,
  UsernameValidationApiResponse,
  HospitalListApiResponse,
  SignUpApiResponse,
  Hospital,
} from './types/signup';

// Export Redux
export {
  loginUser,
  ssoLogin,
  emergencyAccess,
  logoutUser,
  clearError,
  setBiometricEnabled,
  setRememberDevice,
  updateUserProfile,
  setSessionToken,
  clearSession,
  setEmergencyAccess,
} from './redux/authSlice';

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