/**
 * ByteLyst React Native Platform SDK
 * 
 * Provides platform services for React Native/Expo apps:
 * - Authentication
 * - Telemetry
 * - Feature Flags
 * - Kill Switch
 * - Broadcasts & Surveys
 */

export { createRNPlatformSDK } from './core.js';

// Re-exports from sub-modules
export {
  useAuth,
  AuthProvider,
  type AuthState,
  type AuthContextType,
} from './auth/index.js';

export {
  useTelemetry,
  TelemetryProvider,
  type TelemetryEvent,
  type TelemetryConfig,
} from './telemetry/index.js';

export {
  useFeatureFlags,
  FeatureFlagProvider,
  type FeatureFlag,
} from './feature-flags/index.js';

export {
  useKillSwitch,
  KillSwitchProvider,
  type KillSwitchState,
} from './kill-switch/index.js';

export {
  useBroadcasts,
  BroadcastProvider,
  InAppMessageBanner,
  BroadcastModal,
  type InAppMessage,
} from './broadcasts/index.js';

export {
  useSurveys,
  SurveyProvider,
  SurveyModal,
  type ActiveSurvey,
  type Question,
} from './surveys/index.js';
