export { validateEmail } from './validation';
export { formatAuthError } from './errors';
export {
  resolveGuardIsLoading,
  shouldRedirectToAuth,
  resolveGuardIsAuthenticated,
  type GuardInput,
} from './guard';
export { normalizePath, isAllowedAuthPath } from './path';
export { logger, authLogger } from './logger';
export {
  Analytics,
  AnalyticsEvent,
  AnalyticsCategory,
  // Lets @djangocfg/analytics inject the real implementation without api having
  // to depend on it (which would be a cycle — analytics reads auth state).
  setAnalyticsSink,
  type AnalyticsSink,
  type AnalyticsEventType,
  type AnalyticsCategoryType,
} from './analytics';
