mailsentry-auth 0.2.4 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -358,7 +358,7 @@ declare class CrossTabBehaviorHandler {
358
358
  * Get the action configuration for current route and event
359
359
  */
360
360
  static getAction(currentPageType: PageType, eventType: AuthEventType): {
361
- readonly action: NavigationAction.NONE;
361
+ readonly action: NavigationAction.RELOAD;
362
362
  } | {
363
363
  readonly action: NavigationAction.NONE;
364
364
  } | {
@@ -368,9 +368,9 @@ declare class CrossTabBehaviorHandler {
368
368
  } | {
369
369
  readonly action: NavigationAction.RELOAD;
370
370
  } | {
371
- readonly action: NavigationAction.RELOAD;
371
+ readonly action: NavigationAction.RELOAD_CLEAN_URL;
372
372
  } | {
373
- readonly action: NavigationAction.RELOAD;
373
+ readonly action: NavigationAction.NONE;
374
374
  } | {
375
375
  readonly action: NavigationAction.NONE;
376
376
  } | {
@@ -424,6 +424,24 @@ declare class EmailProviderUtils {
424
424
  static getProviderName(email: string): string | null;
425
425
  }
426
426
 
427
+ /**
428
+ * URL Cleanup Handler
429
+ * Facade Pattern: Simple interface for complex strategy execution
430
+ * Static methods: No state, pure functional approach
431
+ */
432
+ declare class UrlCleanupHandler {
433
+ /**
434
+ * Execute cleanup for given event type and current URL
435
+ * @returns Cleaned URL string if changes made, null otherwise
436
+ */
437
+ static cleanup(eventType: AuthEventType, currentUrl?: string): string | null;
438
+ /**
439
+ * Find applicable strategy for event type and pathname
440
+ * DRY Principle: Centralized strategy lookup logic
441
+ */
442
+ private static findStrategy;
443
+ }
444
+
427
445
  /**
428
446
  * Token Manager Implementation
429
447
  * Handles token storage and validation using CookieUtils
@@ -781,12 +799,11 @@ declare class LoggerFactory {
781
799
  */
782
800
  declare class AuthOrchestrator implements IAuthOrchestrator {
783
801
  private authService;
784
- private eventBus;
785
802
  private tokenManager;
786
803
  private userStorageManager;
787
804
  private errorHandler;
788
805
  private logger;
789
- constructor(authService: AuthService, eventBus: EventBus<AuthEvent>, tokenManager?: ITokenManager);
806
+ constructor(authService: AuthService, tokenManager?: ITokenManager);
790
807
  /**
791
808
  * Setup Chain of Responsibility for error handling
792
809
  */
@@ -863,7 +880,7 @@ declare class AuthOrchestratorFactory {
863
880
  /**
864
881
  * Create AuthOrchestrator with custom dependencies
865
882
  */
866
- static createWithDependencies(authService: AuthService, eventBus: EventBus<AuthEvent>, tokenManager?: ITokenManager): AuthOrchestrator;
883
+ static createWithDependencies(authService: AuthService, tokenManager?: ITokenManager): AuthOrchestrator;
867
884
  }
868
885
 
869
886
  /**
@@ -1264,7 +1281,8 @@ declare enum PageType {
1264
1281
  }
1265
1282
  declare enum NavigationAction {
1266
1283
  NONE = "none",
1267
- RELOAD = "reload"
1284
+ RELOAD = "reload",
1285
+ RELOAD_CLEAN_URL = "reload_clean_url"
1268
1286
  }
1269
1287
  declare const PageTypePatterns: {
1270
1288
  readonly "/login": PageType.LOGIN;
@@ -1274,7 +1292,7 @@ declare const PageTypePatterns: {
1274
1292
  declare const CrossTabBehaviorConfig: {
1275
1293
  readonly "/login": {
1276
1294
  readonly "auth.logged_in": {
1277
- readonly action: NavigationAction.NONE;
1295
+ readonly action: NavigationAction.RELOAD;
1278
1296
  };
1279
1297
  readonly "auth.logged_out": {
1280
1298
  readonly action: NavigationAction.NONE;
@@ -1291,10 +1309,10 @@ declare const CrossTabBehaviorConfig: {
1291
1309
  readonly action: NavigationAction.RELOAD;
1292
1310
  };
1293
1311
  readonly "auth.logged_out": {
1294
- readonly action: NavigationAction.RELOAD;
1312
+ readonly action: NavigationAction.RELOAD_CLEAN_URL;
1295
1313
  };
1296
1314
  readonly "auth.email_verified": {
1297
- readonly action: NavigationAction.RELOAD;
1315
+ readonly action: NavigationAction.NONE;
1298
1316
  };
1299
1317
  readonly "auth.signin_required_modal": {
1300
1318
  readonly action: NavigationAction.NONE;
@@ -1345,6 +1363,15 @@ interface EmailProviderConfig {
1345
1363
  getUrl: (email: string, subject?: string) => string;
1346
1364
  }
1347
1365
 
1366
+ /**
1367
+ * Strategy Pattern: Interface for URL cleanup behaviors
1368
+ * Single Responsibility: Each strategy handles one cleanup concern
1369
+ */
1370
+ interface ICleanupStrategy {
1371
+ matches(pathname: string): boolean;
1372
+ clean(url: URL): URL;
1373
+ }
1374
+
1348
1375
  declare const createAuthSteps: (options?: {
1349
1376
  authIntent?: NextAction;
1350
1377
  nextAction?: NextAction;
@@ -1741,4 +1768,4 @@ declare const useAuthFlowModal: () => {
1741
1768
  openModal: () => void;
1742
1769
  };
1743
1770
 
1744
- export { AUTH_ENDPOINTS, AlertDisplay, type AlertDisplayProps, type AnyStepProps, type ApiErrorResponse, type ApiKeyConfig, type AuthActionCallbacks, type AuthActionOptions, type AuthActionResult, type AuthActionResultFailure, type AuthActionResultSuccess, type AuthActionState, type AuthEvent, AuthEventType, AuthFlowContainer, type AuthFlowContainerProps, AuthFlowModal, type AuthFlowModalProps, type AuthFlowProps, AuthFlowStep, AuthFlowVariant, AuthInitializer, AuthOrchestrator, AuthOrchestratorFactory, AuthResultFactory, AuthService, type AuthState, AuthenticatedState, type AuthenticatedStateProps, AuthenticationStatusContext, type BaseComponentProps, BaseErrorHandler, BaseEventBus, BaseForm, type BaseFormField, type BaseFormProps, type BaseResponse, BaseService, type BaseStepProps, BroadcastChannelEventBus, Channel, CookieUtils, CrossTabBehaviorConfig, CrossTabBehaviorHandler, CrossTabDemo, DevelopmentLogger, EMAIL_SUBMISSION_NAVIGATION, type EmailCheckResult, type EmailExistResponse, type EmailProviderConfig, EmailProviderUtils, EmailStep, type EmailStepProps, EndpointBuilder, type EventBus, ExistingUserLoginStrategy, type ForgotPasswordStepProps, FormFields, type FormFieldsProps, FormHeader, type FormHeaderProps, GenericErrorHandler, HttpClient, type HttpClientConfig, type HttpError, HttpMethod, type HttpRequestOptions, type HttpResponse, type IAuthOrchestrator, type IAuthService, type IAuthStatusState, type IErrorHandler, type ILogger, type ILoginFlowStrategy, type ITokenManager, LocalStorageUtils, LoggerFactory, type LoginData, LoginFlowStrategyFactory, type LoginRequest, type LoginResponse, LoginStrategyResolver, LoginVerificationStrategy, MiddlewareConfig, type MiddlewareContext, type MiddlewareHandler, NavigationAction, NetworkErrorHandler, NextAction, PASSWORD_SUBMISSION_NAVIGATION, PageType, PageTypePatterns, PasswordInputWithStrength, type PasswordInputWithStrengthProps, PasswordStep, type PasswordStepProps, type PasswordStrengthRule, ProductionLogger, ProfileStateRenderer, ProfileUIState, type PropsFactory, type PublicUserProfile, type PublicUserProfileResponse, RoleType, SignupFlowStrategy, type Step, type StepComponent, type StepComponentRetriever, type StepConfig, type StepPropsFactoryRegistry, type StepRegistry, type StepRegistryBaseProps, type StepRegistryConfigs, type StepRegistryHandlers, type StepRegistryParams, type StepRegistryState, type StepperActions, type StepperState$1 as StepperState, StrategyResolutionMode, type StrengthResult, type Subscription, TokenManager, UnauthenticatedState, UrlUtils, type UseAuthActionHandler, type UseAuthEventBusProps, type UseFormSubmissionProps, type UseStepRegistryParams, type UseStepperReturn, type UserProfile, type UserProfileResponse, type UserSession, type UserState, UserStorageManager, type UserStoreState, VERIFICATION_SUBMISSION_NAVIGATION, ValidationErrorHandler, VerificationStep, type VerificationStepProps, type VerifyEmailRequest, type VerifyEmailResponse, config, createAuthSteps, createPropsFactoryRegistry, createStepRegistry, getAuthPageStepMessage, getEmailField, getForgotPasswordField, getPasswordField, getStepForEmailSubmission, getStepForPasswordSubmission, getStepForVerificationSubmission, getStepProgressMessage, getTermsCheckboxField, getVerificationField, isPublicUser, isPublicUserEmail, middlewareMatcher, useAuth, useAuthActionHandler, useAuthEventBus, useAuthFlowModal, useAuthInitializer, useIsAuthenticated, useLogout, usePublicUserSession, useRefreshUser, useSharedEventBus, useSignInRequiredParams, useStepRegistry, useStepRenderer, useStepper, useUser, useUserActions, useUserData, useUserError, useUserLoading, useUserProfile, useUserSelectors, useUserStore, userSelectors };
1771
+ export { AUTH_ENDPOINTS, AlertDisplay, type AlertDisplayProps, type AnyStepProps, type ApiErrorResponse, type ApiKeyConfig, type AuthActionCallbacks, type AuthActionOptions, type AuthActionResult, type AuthActionResultFailure, type AuthActionResultSuccess, type AuthActionState, type AuthEvent, AuthEventType, AuthFlowContainer, type AuthFlowContainerProps, AuthFlowModal, type AuthFlowModalProps, type AuthFlowProps, AuthFlowStep, AuthFlowVariant, AuthInitializer, AuthOrchestrator, AuthOrchestratorFactory, AuthResultFactory, AuthService, type AuthState, AuthenticatedState, type AuthenticatedStateProps, AuthenticationStatusContext, type BaseComponentProps, BaseErrorHandler, BaseEventBus, BaseForm, type BaseFormField, type BaseFormProps, type BaseResponse, BaseService, type BaseStepProps, BroadcastChannelEventBus, Channel, CookieUtils, CrossTabBehaviorConfig, CrossTabBehaviorHandler, CrossTabDemo, DevelopmentLogger, EMAIL_SUBMISSION_NAVIGATION, type EmailCheckResult, type EmailExistResponse, type EmailProviderConfig, EmailProviderUtils, EmailStep, type EmailStepProps, EndpointBuilder, type EventBus, ExistingUserLoginStrategy, type ForgotPasswordStepProps, FormFields, type FormFieldsProps, FormHeader, type FormHeaderProps, GenericErrorHandler, HttpClient, type HttpClientConfig, type HttpError, HttpMethod, type HttpRequestOptions, type HttpResponse, type IAuthOrchestrator, type IAuthService, type IAuthStatusState, type ICleanupStrategy, type IErrorHandler, type ILogger, type ILoginFlowStrategy, type ITokenManager, LocalStorageUtils, LoggerFactory, type LoginData, LoginFlowStrategyFactory, type LoginRequest, type LoginResponse, LoginStrategyResolver, LoginVerificationStrategy, MiddlewareConfig, type MiddlewareContext, type MiddlewareHandler, NavigationAction, NetworkErrorHandler, NextAction, PASSWORD_SUBMISSION_NAVIGATION, PageType, PageTypePatterns, PasswordInputWithStrength, type PasswordInputWithStrengthProps, PasswordStep, type PasswordStepProps, type PasswordStrengthRule, ProductionLogger, ProfileStateRenderer, ProfileUIState, type PropsFactory, type PublicUserProfile, type PublicUserProfileResponse, RoleType, SignupFlowStrategy, type Step, type StepComponent, type StepComponentRetriever, type StepConfig, type StepPropsFactoryRegistry, type StepRegistry, type StepRegistryBaseProps, type StepRegistryConfigs, type StepRegistryHandlers, type StepRegistryParams, type StepRegistryState, type StepperActions, type StepperState$1 as StepperState, StrategyResolutionMode, type StrengthResult, type Subscription, TokenManager, UnauthenticatedState, UrlCleanupHandler, UrlUtils, type UseAuthActionHandler, type UseAuthEventBusProps, type UseFormSubmissionProps, type UseStepRegistryParams, type UseStepperReturn, type UserProfile, type UserProfileResponse, type UserSession, type UserState, UserStorageManager, type UserStoreState, VERIFICATION_SUBMISSION_NAVIGATION, ValidationErrorHandler, VerificationStep, type VerificationStepProps, type VerifyEmailRequest, type VerifyEmailResponse, config, createAuthSteps, createPropsFactoryRegistry, createStepRegistry, getAuthPageStepMessage, getEmailField, getForgotPasswordField, getPasswordField, getStepForEmailSubmission, getStepForPasswordSubmission, getStepForVerificationSubmission, getStepProgressMessage, getTermsCheckboxField, getVerificationField, isPublicUser, isPublicUserEmail, middlewareMatcher, useAuth, useAuthActionHandler, useAuthEventBus, useAuthFlowModal, useAuthInitializer, useIsAuthenticated, useLogout, usePublicUserSession, useRefreshUser, useSharedEventBus, useSignInRequiredParams, useStepRegistry, useStepRenderer, useStepper, useUser, useUserActions, useUserData, useUserError, useUserLoading, useUserProfile, useUserSelectors, useUserStore, userSelectors };
package/dist/index.d.ts CHANGED
@@ -358,7 +358,7 @@ declare class CrossTabBehaviorHandler {
358
358
  * Get the action configuration for current route and event
359
359
  */
360
360
  static getAction(currentPageType: PageType, eventType: AuthEventType): {
361
- readonly action: NavigationAction.NONE;
361
+ readonly action: NavigationAction.RELOAD;
362
362
  } | {
363
363
  readonly action: NavigationAction.NONE;
364
364
  } | {
@@ -368,9 +368,9 @@ declare class CrossTabBehaviorHandler {
368
368
  } | {
369
369
  readonly action: NavigationAction.RELOAD;
370
370
  } | {
371
- readonly action: NavigationAction.RELOAD;
371
+ readonly action: NavigationAction.RELOAD_CLEAN_URL;
372
372
  } | {
373
- readonly action: NavigationAction.RELOAD;
373
+ readonly action: NavigationAction.NONE;
374
374
  } | {
375
375
  readonly action: NavigationAction.NONE;
376
376
  } | {
@@ -424,6 +424,24 @@ declare class EmailProviderUtils {
424
424
  static getProviderName(email: string): string | null;
425
425
  }
426
426
 
427
+ /**
428
+ * URL Cleanup Handler
429
+ * Facade Pattern: Simple interface for complex strategy execution
430
+ * Static methods: No state, pure functional approach
431
+ */
432
+ declare class UrlCleanupHandler {
433
+ /**
434
+ * Execute cleanup for given event type and current URL
435
+ * @returns Cleaned URL string if changes made, null otherwise
436
+ */
437
+ static cleanup(eventType: AuthEventType, currentUrl?: string): string | null;
438
+ /**
439
+ * Find applicable strategy for event type and pathname
440
+ * DRY Principle: Centralized strategy lookup logic
441
+ */
442
+ private static findStrategy;
443
+ }
444
+
427
445
  /**
428
446
  * Token Manager Implementation
429
447
  * Handles token storage and validation using CookieUtils
@@ -781,12 +799,11 @@ declare class LoggerFactory {
781
799
  */
782
800
  declare class AuthOrchestrator implements IAuthOrchestrator {
783
801
  private authService;
784
- private eventBus;
785
802
  private tokenManager;
786
803
  private userStorageManager;
787
804
  private errorHandler;
788
805
  private logger;
789
- constructor(authService: AuthService, eventBus: EventBus<AuthEvent>, tokenManager?: ITokenManager);
806
+ constructor(authService: AuthService, tokenManager?: ITokenManager);
790
807
  /**
791
808
  * Setup Chain of Responsibility for error handling
792
809
  */
@@ -863,7 +880,7 @@ declare class AuthOrchestratorFactory {
863
880
  /**
864
881
  * Create AuthOrchestrator with custom dependencies
865
882
  */
866
- static createWithDependencies(authService: AuthService, eventBus: EventBus<AuthEvent>, tokenManager?: ITokenManager): AuthOrchestrator;
883
+ static createWithDependencies(authService: AuthService, tokenManager?: ITokenManager): AuthOrchestrator;
867
884
  }
868
885
 
869
886
  /**
@@ -1264,7 +1281,8 @@ declare enum PageType {
1264
1281
  }
1265
1282
  declare enum NavigationAction {
1266
1283
  NONE = "none",
1267
- RELOAD = "reload"
1284
+ RELOAD = "reload",
1285
+ RELOAD_CLEAN_URL = "reload_clean_url"
1268
1286
  }
1269
1287
  declare const PageTypePatterns: {
1270
1288
  readonly "/login": PageType.LOGIN;
@@ -1274,7 +1292,7 @@ declare const PageTypePatterns: {
1274
1292
  declare const CrossTabBehaviorConfig: {
1275
1293
  readonly "/login": {
1276
1294
  readonly "auth.logged_in": {
1277
- readonly action: NavigationAction.NONE;
1295
+ readonly action: NavigationAction.RELOAD;
1278
1296
  };
1279
1297
  readonly "auth.logged_out": {
1280
1298
  readonly action: NavigationAction.NONE;
@@ -1291,10 +1309,10 @@ declare const CrossTabBehaviorConfig: {
1291
1309
  readonly action: NavigationAction.RELOAD;
1292
1310
  };
1293
1311
  readonly "auth.logged_out": {
1294
- readonly action: NavigationAction.RELOAD;
1312
+ readonly action: NavigationAction.RELOAD_CLEAN_URL;
1295
1313
  };
1296
1314
  readonly "auth.email_verified": {
1297
- readonly action: NavigationAction.RELOAD;
1315
+ readonly action: NavigationAction.NONE;
1298
1316
  };
1299
1317
  readonly "auth.signin_required_modal": {
1300
1318
  readonly action: NavigationAction.NONE;
@@ -1345,6 +1363,15 @@ interface EmailProviderConfig {
1345
1363
  getUrl: (email: string, subject?: string) => string;
1346
1364
  }
1347
1365
 
1366
+ /**
1367
+ * Strategy Pattern: Interface for URL cleanup behaviors
1368
+ * Single Responsibility: Each strategy handles one cleanup concern
1369
+ */
1370
+ interface ICleanupStrategy {
1371
+ matches(pathname: string): boolean;
1372
+ clean(url: URL): URL;
1373
+ }
1374
+
1348
1375
  declare const createAuthSteps: (options?: {
1349
1376
  authIntent?: NextAction;
1350
1377
  nextAction?: NextAction;
@@ -1741,4 +1768,4 @@ declare const useAuthFlowModal: () => {
1741
1768
  openModal: () => void;
1742
1769
  };
1743
1770
 
1744
- export { AUTH_ENDPOINTS, AlertDisplay, type AlertDisplayProps, type AnyStepProps, type ApiErrorResponse, type ApiKeyConfig, type AuthActionCallbacks, type AuthActionOptions, type AuthActionResult, type AuthActionResultFailure, type AuthActionResultSuccess, type AuthActionState, type AuthEvent, AuthEventType, AuthFlowContainer, type AuthFlowContainerProps, AuthFlowModal, type AuthFlowModalProps, type AuthFlowProps, AuthFlowStep, AuthFlowVariant, AuthInitializer, AuthOrchestrator, AuthOrchestratorFactory, AuthResultFactory, AuthService, type AuthState, AuthenticatedState, type AuthenticatedStateProps, AuthenticationStatusContext, type BaseComponentProps, BaseErrorHandler, BaseEventBus, BaseForm, type BaseFormField, type BaseFormProps, type BaseResponse, BaseService, type BaseStepProps, BroadcastChannelEventBus, Channel, CookieUtils, CrossTabBehaviorConfig, CrossTabBehaviorHandler, CrossTabDemo, DevelopmentLogger, EMAIL_SUBMISSION_NAVIGATION, type EmailCheckResult, type EmailExistResponse, type EmailProviderConfig, EmailProviderUtils, EmailStep, type EmailStepProps, EndpointBuilder, type EventBus, ExistingUserLoginStrategy, type ForgotPasswordStepProps, FormFields, type FormFieldsProps, FormHeader, type FormHeaderProps, GenericErrorHandler, HttpClient, type HttpClientConfig, type HttpError, HttpMethod, type HttpRequestOptions, type HttpResponse, type IAuthOrchestrator, type IAuthService, type IAuthStatusState, type IErrorHandler, type ILogger, type ILoginFlowStrategy, type ITokenManager, LocalStorageUtils, LoggerFactory, type LoginData, LoginFlowStrategyFactory, type LoginRequest, type LoginResponse, LoginStrategyResolver, LoginVerificationStrategy, MiddlewareConfig, type MiddlewareContext, type MiddlewareHandler, NavigationAction, NetworkErrorHandler, NextAction, PASSWORD_SUBMISSION_NAVIGATION, PageType, PageTypePatterns, PasswordInputWithStrength, type PasswordInputWithStrengthProps, PasswordStep, type PasswordStepProps, type PasswordStrengthRule, ProductionLogger, ProfileStateRenderer, ProfileUIState, type PropsFactory, type PublicUserProfile, type PublicUserProfileResponse, RoleType, SignupFlowStrategy, type Step, type StepComponent, type StepComponentRetriever, type StepConfig, type StepPropsFactoryRegistry, type StepRegistry, type StepRegistryBaseProps, type StepRegistryConfigs, type StepRegistryHandlers, type StepRegistryParams, type StepRegistryState, type StepperActions, type StepperState$1 as StepperState, StrategyResolutionMode, type StrengthResult, type Subscription, TokenManager, UnauthenticatedState, UrlUtils, type UseAuthActionHandler, type UseAuthEventBusProps, type UseFormSubmissionProps, type UseStepRegistryParams, type UseStepperReturn, type UserProfile, type UserProfileResponse, type UserSession, type UserState, UserStorageManager, type UserStoreState, VERIFICATION_SUBMISSION_NAVIGATION, ValidationErrorHandler, VerificationStep, type VerificationStepProps, type VerifyEmailRequest, type VerifyEmailResponse, config, createAuthSteps, createPropsFactoryRegistry, createStepRegistry, getAuthPageStepMessage, getEmailField, getForgotPasswordField, getPasswordField, getStepForEmailSubmission, getStepForPasswordSubmission, getStepForVerificationSubmission, getStepProgressMessage, getTermsCheckboxField, getVerificationField, isPublicUser, isPublicUserEmail, middlewareMatcher, useAuth, useAuthActionHandler, useAuthEventBus, useAuthFlowModal, useAuthInitializer, useIsAuthenticated, useLogout, usePublicUserSession, useRefreshUser, useSharedEventBus, useSignInRequiredParams, useStepRegistry, useStepRenderer, useStepper, useUser, useUserActions, useUserData, useUserError, useUserLoading, useUserProfile, useUserSelectors, useUserStore, userSelectors };
1771
+ export { AUTH_ENDPOINTS, AlertDisplay, type AlertDisplayProps, type AnyStepProps, type ApiErrorResponse, type ApiKeyConfig, type AuthActionCallbacks, type AuthActionOptions, type AuthActionResult, type AuthActionResultFailure, type AuthActionResultSuccess, type AuthActionState, type AuthEvent, AuthEventType, AuthFlowContainer, type AuthFlowContainerProps, AuthFlowModal, type AuthFlowModalProps, type AuthFlowProps, AuthFlowStep, AuthFlowVariant, AuthInitializer, AuthOrchestrator, AuthOrchestratorFactory, AuthResultFactory, AuthService, type AuthState, AuthenticatedState, type AuthenticatedStateProps, AuthenticationStatusContext, type BaseComponentProps, BaseErrorHandler, BaseEventBus, BaseForm, type BaseFormField, type BaseFormProps, type BaseResponse, BaseService, type BaseStepProps, BroadcastChannelEventBus, Channel, CookieUtils, CrossTabBehaviorConfig, CrossTabBehaviorHandler, CrossTabDemo, DevelopmentLogger, EMAIL_SUBMISSION_NAVIGATION, type EmailCheckResult, type EmailExistResponse, type EmailProviderConfig, EmailProviderUtils, EmailStep, type EmailStepProps, EndpointBuilder, type EventBus, ExistingUserLoginStrategy, type ForgotPasswordStepProps, FormFields, type FormFieldsProps, FormHeader, type FormHeaderProps, GenericErrorHandler, HttpClient, type HttpClientConfig, type HttpError, HttpMethod, type HttpRequestOptions, type HttpResponse, type IAuthOrchestrator, type IAuthService, type IAuthStatusState, type ICleanupStrategy, type IErrorHandler, type ILogger, type ILoginFlowStrategy, type ITokenManager, LocalStorageUtils, LoggerFactory, type LoginData, LoginFlowStrategyFactory, type LoginRequest, type LoginResponse, LoginStrategyResolver, LoginVerificationStrategy, MiddlewareConfig, type MiddlewareContext, type MiddlewareHandler, NavigationAction, NetworkErrorHandler, NextAction, PASSWORD_SUBMISSION_NAVIGATION, PageType, PageTypePatterns, PasswordInputWithStrength, type PasswordInputWithStrengthProps, PasswordStep, type PasswordStepProps, type PasswordStrengthRule, ProductionLogger, ProfileStateRenderer, ProfileUIState, type PropsFactory, type PublicUserProfile, type PublicUserProfileResponse, RoleType, SignupFlowStrategy, type Step, type StepComponent, type StepComponentRetriever, type StepConfig, type StepPropsFactoryRegistry, type StepRegistry, type StepRegistryBaseProps, type StepRegistryConfigs, type StepRegistryHandlers, type StepRegistryParams, type StepRegistryState, type StepperActions, type StepperState$1 as StepperState, StrategyResolutionMode, type StrengthResult, type Subscription, TokenManager, UnauthenticatedState, UrlCleanupHandler, UrlUtils, type UseAuthActionHandler, type UseAuthEventBusProps, type UseFormSubmissionProps, type UseStepRegistryParams, type UseStepperReturn, type UserProfile, type UserProfileResponse, type UserSession, type UserState, UserStorageManager, type UserStoreState, VERIFICATION_SUBMISSION_NAVIGATION, ValidationErrorHandler, VerificationStep, type VerificationStepProps, type VerifyEmailRequest, type VerifyEmailResponse, config, createAuthSteps, createPropsFactoryRegistry, createStepRegistry, getAuthPageStepMessage, getEmailField, getForgotPasswordField, getPasswordField, getStepForEmailSubmission, getStepForPasswordSubmission, getStepForVerificationSubmission, getStepProgressMessage, getTermsCheckboxField, getVerificationField, isPublicUser, isPublicUserEmail, middlewareMatcher, useAuth, useAuthActionHandler, useAuthEventBus, useAuthFlowModal, useAuthInitializer, useIsAuthenticated, useLogout, usePublicUserSession, useRefreshUser, useSharedEventBus, useSignInRequiredParams, useStepRegistry, useStepRenderer, useStepper, useUser, useUserActions, useUserData, useUserError, useUserLoading, useUserProfile, useUserSelectors, useUserStore, userSelectors };