mailsentry-auth 0.2.7 → 0.2.9

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
@@ -354,6 +354,10 @@ declare class CrossTabBehaviorHandler {
354
354
  * Get current page type using object lookup pattern
355
355
  */
356
356
  static getCurrentPageType(): PageType;
357
+ /**
358
+ * Check if current route is excluded from automatic reload
359
+ */
360
+ private static isReloadExcluded;
357
361
  /**
358
362
  * Get the action configuration for current route and event
359
363
  */
@@ -381,6 +385,14 @@ declare class CrossTabBehaviorHandler {
381
385
  readonly action: NavigationAction.NONE;
382
386
  } | {
383
387
  readonly action: NavigationAction.NONE;
388
+ } | {
389
+ readonly action: NavigationAction.NONE;
390
+ } | {
391
+ readonly action: NavigationAction.NONE;
392
+ } | {
393
+ readonly action: NavigationAction.NONE;
394
+ } | {
395
+ readonly action: NavigationAction.NONE;
384
396
  };
385
397
  }
386
398
 
@@ -518,6 +530,10 @@ declare abstract class BaseService {
518
530
  * Create generic API error as fallback
519
531
  */
520
532
  private createGenericApiError;
533
+ /**
534
+ * Helper method for common request logic
535
+ */
536
+ private executeRequest;
521
537
  /**
522
538
  * GET request
523
539
  */
@@ -743,9 +759,10 @@ declare abstract class BaseErrorHandler implements IErrorHandler {
743
759
  }
744
760
 
745
761
  /**
746
- * Validation Error Handler
762
+ * API Error Handler
763
+ * Handles specific ApiError instances thrown by the HTTP client
747
764
  */
748
- declare class ValidationErrorHandler extends BaseErrorHandler {
765
+ declare class ApiErrorHandler extends BaseErrorHandler {
749
766
  protected canHandle(error: unknown): boolean;
750
767
  protected handleError(error: unknown, context: string): AuthActionResult;
751
768
  }
@@ -758,14 +775,6 @@ declare class NetworkErrorHandler extends BaseErrorHandler {
758
775
  protected handleError(error: unknown, context: string): AuthActionResult;
759
776
  }
760
777
 
761
- /**
762
- * Generic Error Handler
763
- */
764
- declare class GenericErrorHandler extends BaseErrorHandler {
765
- protected canHandle(): boolean;
766
- protected handleError(error: unknown, context: string): AuthActionResult;
767
- }
768
-
769
778
  /**
770
779
  * Development Logger Implementation
771
780
  */
@@ -1033,18 +1042,11 @@ interface ForgotPasswordStepProps extends BaseStepProps {
1033
1042
  onSubmit: (email: string) => void | Promise<void>;
1034
1043
  }
1035
1044
 
1036
- declare enum AuthFlowVariant {
1037
- DEFAULT = "default",
1038
- WITH_IMAGE = "with_image"
1045
+ interface AuthFlowContainerProps {
1039
1046
  }
1040
- type AuthFlowProps = {
1041
- variant?: AuthFlowVariant;
1042
- backgroundImage?: string;
1043
- };
1044
- type AuthFlowContainerProps = AuthFlowProps;
1045
- type AuthFlowModalProps = AuthFlowProps & {
1047
+ interface AuthFlowModalProps {
1046
1048
  children: ReactNode;
1047
- };
1049
+ }
1048
1050
 
1049
1051
  declare enum ProfileUIState {
1050
1052
  LOADING = "LOADING",
@@ -1161,6 +1163,14 @@ declare enum RoleType {
1161
1163
  USER = "USER",
1162
1164
  ADMIN = "ADMIN"
1163
1165
  }
1166
+ /**
1167
+ * Enum for user authentication types
1168
+ */
1169
+ declare enum UserType {
1170
+ AUTHENTICATED = "AUTHENTICATED",
1171
+ PUBLIC = "PUBLIC",
1172
+ GUEST = "GUEST"
1173
+ }
1164
1174
  type AuthState = {
1165
1175
  isAuthenticated: boolean;
1166
1176
  isLoading: boolean;
@@ -1277,7 +1287,8 @@ type AuthEvent = {
1277
1287
  declare enum PageType {
1278
1288
  LOGIN = "/login",
1279
1289
  DASHBOARD = "dashboard",
1280
- HOME = "/"
1290
+ HOME = "/",
1291
+ EXCLUDED = "excluded"
1281
1292
  }
1282
1293
  declare enum NavigationAction {
1283
1294
  NONE = "none",
@@ -1332,6 +1343,20 @@ declare const CrossTabBehaviorConfig: {
1332
1343
  readonly action: NavigationAction.NONE;
1333
1344
  };
1334
1345
  };
1346
+ readonly excluded: {
1347
+ readonly "auth.logged_in": {
1348
+ readonly action: NavigationAction.NONE;
1349
+ };
1350
+ readonly "auth.logged_out": {
1351
+ readonly action: NavigationAction.NONE;
1352
+ };
1353
+ readonly "auth.email_verified": {
1354
+ readonly action: NavigationAction.NONE;
1355
+ };
1356
+ readonly "auth.signin_required_modal": {
1357
+ readonly action: NavigationAction.NONE;
1358
+ };
1359
+ };
1335
1360
  };
1336
1361
 
1337
1362
  /**
@@ -1429,6 +1454,11 @@ declare class MiddlewareConfig {
1429
1454
  * Format: "host:path" or "path"
1430
1455
  */
1431
1456
  static getGuestOnlyRules(): ProtectionRule[];
1457
+ /**
1458
+ * Get reload exclusion rules (routes that shouldn't auto-reload on login)
1459
+ * Format: "host:path" or "path"
1460
+ */
1461
+ static getReloadExclusionRules(): ProtectionRule[];
1432
1462
  /**
1433
1463
  * Generic parser for environment variables containing rule lists
1434
1464
  */
@@ -1572,9 +1602,9 @@ declare const useStepRenderer: () => {
1572
1602
  getStepComponent: (step: AuthFlowStep) => StepComponent | null;
1573
1603
  };
1574
1604
 
1575
- declare function AuthFlowContainer({ variant, backgroundImage, }: AuthFlowContainerProps): React__default.JSX.Element;
1605
+ declare function AuthFlowContainer({}: AuthFlowContainerProps): React__default.JSX.Element;
1576
1606
 
1577
- declare function AuthFlowModal({ children, variant, backgroundImage, }: AuthFlowModalProps): React__default.JSX.Element;
1607
+ declare function AuthFlowModal({ children }: AuthFlowModalProps): React__default.JSX.Element;
1578
1608
 
1579
1609
  /**
1580
1610
  * Auth Initializer Component
@@ -1687,10 +1717,15 @@ declare const useUserActions: () => {
1687
1717
  clearPublicUser: () => void;
1688
1718
  };
1689
1719
  /**
1690
- * Hook for checking authentication status
1720
+ * Hook for checking authentication status and user type
1691
1721
  */
1692
1722
  declare const useAuth: () => {
1693
- isAuthenticated: boolean;
1723
+ authStatus: {
1724
+ type: UserType;
1725
+ isAuthenticated: boolean;
1726
+ isPublic: boolean;
1727
+ isGuest: boolean;
1728
+ };
1694
1729
  isLoading: boolean;
1695
1730
  error: string | null;
1696
1731
  user: UserProfile | null;
@@ -1781,4 +1816,4 @@ declare const useAuthFlowModal: () => {
1781
1816
  openModal: () => void;
1782
1817
  };
1783
1818
 
1784
- 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 ProtectionRule, 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 };
1819
+ export { AUTH_ENDPOINTS, AlertDisplay, type AlertDisplayProps, type AnyStepProps, ApiErrorHandler, 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, AuthFlowStep, 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, 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 ProtectionRule, 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, UserType, VERIFICATION_SUBMISSION_NAVIGATION, 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
@@ -354,6 +354,10 @@ declare class CrossTabBehaviorHandler {
354
354
  * Get current page type using object lookup pattern
355
355
  */
356
356
  static getCurrentPageType(): PageType;
357
+ /**
358
+ * Check if current route is excluded from automatic reload
359
+ */
360
+ private static isReloadExcluded;
357
361
  /**
358
362
  * Get the action configuration for current route and event
359
363
  */
@@ -381,6 +385,14 @@ declare class CrossTabBehaviorHandler {
381
385
  readonly action: NavigationAction.NONE;
382
386
  } | {
383
387
  readonly action: NavigationAction.NONE;
388
+ } | {
389
+ readonly action: NavigationAction.NONE;
390
+ } | {
391
+ readonly action: NavigationAction.NONE;
392
+ } | {
393
+ readonly action: NavigationAction.NONE;
394
+ } | {
395
+ readonly action: NavigationAction.NONE;
384
396
  };
385
397
  }
386
398
 
@@ -518,6 +530,10 @@ declare abstract class BaseService {
518
530
  * Create generic API error as fallback
519
531
  */
520
532
  private createGenericApiError;
533
+ /**
534
+ * Helper method for common request logic
535
+ */
536
+ private executeRequest;
521
537
  /**
522
538
  * GET request
523
539
  */
@@ -743,9 +759,10 @@ declare abstract class BaseErrorHandler implements IErrorHandler {
743
759
  }
744
760
 
745
761
  /**
746
- * Validation Error Handler
762
+ * API Error Handler
763
+ * Handles specific ApiError instances thrown by the HTTP client
747
764
  */
748
- declare class ValidationErrorHandler extends BaseErrorHandler {
765
+ declare class ApiErrorHandler extends BaseErrorHandler {
749
766
  protected canHandle(error: unknown): boolean;
750
767
  protected handleError(error: unknown, context: string): AuthActionResult;
751
768
  }
@@ -758,14 +775,6 @@ declare class NetworkErrorHandler extends BaseErrorHandler {
758
775
  protected handleError(error: unknown, context: string): AuthActionResult;
759
776
  }
760
777
 
761
- /**
762
- * Generic Error Handler
763
- */
764
- declare class GenericErrorHandler extends BaseErrorHandler {
765
- protected canHandle(): boolean;
766
- protected handleError(error: unknown, context: string): AuthActionResult;
767
- }
768
-
769
778
  /**
770
779
  * Development Logger Implementation
771
780
  */
@@ -1033,18 +1042,11 @@ interface ForgotPasswordStepProps extends BaseStepProps {
1033
1042
  onSubmit: (email: string) => void | Promise<void>;
1034
1043
  }
1035
1044
 
1036
- declare enum AuthFlowVariant {
1037
- DEFAULT = "default",
1038
- WITH_IMAGE = "with_image"
1045
+ interface AuthFlowContainerProps {
1039
1046
  }
1040
- type AuthFlowProps = {
1041
- variant?: AuthFlowVariant;
1042
- backgroundImage?: string;
1043
- };
1044
- type AuthFlowContainerProps = AuthFlowProps;
1045
- type AuthFlowModalProps = AuthFlowProps & {
1047
+ interface AuthFlowModalProps {
1046
1048
  children: ReactNode;
1047
- };
1049
+ }
1048
1050
 
1049
1051
  declare enum ProfileUIState {
1050
1052
  LOADING = "LOADING",
@@ -1161,6 +1163,14 @@ declare enum RoleType {
1161
1163
  USER = "USER",
1162
1164
  ADMIN = "ADMIN"
1163
1165
  }
1166
+ /**
1167
+ * Enum for user authentication types
1168
+ */
1169
+ declare enum UserType {
1170
+ AUTHENTICATED = "AUTHENTICATED",
1171
+ PUBLIC = "PUBLIC",
1172
+ GUEST = "GUEST"
1173
+ }
1164
1174
  type AuthState = {
1165
1175
  isAuthenticated: boolean;
1166
1176
  isLoading: boolean;
@@ -1277,7 +1287,8 @@ type AuthEvent = {
1277
1287
  declare enum PageType {
1278
1288
  LOGIN = "/login",
1279
1289
  DASHBOARD = "dashboard",
1280
- HOME = "/"
1290
+ HOME = "/",
1291
+ EXCLUDED = "excluded"
1281
1292
  }
1282
1293
  declare enum NavigationAction {
1283
1294
  NONE = "none",
@@ -1332,6 +1343,20 @@ declare const CrossTabBehaviorConfig: {
1332
1343
  readonly action: NavigationAction.NONE;
1333
1344
  };
1334
1345
  };
1346
+ readonly excluded: {
1347
+ readonly "auth.logged_in": {
1348
+ readonly action: NavigationAction.NONE;
1349
+ };
1350
+ readonly "auth.logged_out": {
1351
+ readonly action: NavigationAction.NONE;
1352
+ };
1353
+ readonly "auth.email_verified": {
1354
+ readonly action: NavigationAction.NONE;
1355
+ };
1356
+ readonly "auth.signin_required_modal": {
1357
+ readonly action: NavigationAction.NONE;
1358
+ };
1359
+ };
1335
1360
  };
1336
1361
 
1337
1362
  /**
@@ -1429,6 +1454,11 @@ declare class MiddlewareConfig {
1429
1454
  * Format: "host:path" or "path"
1430
1455
  */
1431
1456
  static getGuestOnlyRules(): ProtectionRule[];
1457
+ /**
1458
+ * Get reload exclusion rules (routes that shouldn't auto-reload on login)
1459
+ * Format: "host:path" or "path"
1460
+ */
1461
+ static getReloadExclusionRules(): ProtectionRule[];
1432
1462
  /**
1433
1463
  * Generic parser for environment variables containing rule lists
1434
1464
  */
@@ -1572,9 +1602,9 @@ declare const useStepRenderer: () => {
1572
1602
  getStepComponent: (step: AuthFlowStep) => StepComponent | null;
1573
1603
  };
1574
1604
 
1575
- declare function AuthFlowContainer({ variant, backgroundImage, }: AuthFlowContainerProps): React__default.JSX.Element;
1605
+ declare function AuthFlowContainer({}: AuthFlowContainerProps): React__default.JSX.Element;
1576
1606
 
1577
- declare function AuthFlowModal({ children, variant, backgroundImage, }: AuthFlowModalProps): React__default.JSX.Element;
1607
+ declare function AuthFlowModal({ children }: AuthFlowModalProps): React__default.JSX.Element;
1578
1608
 
1579
1609
  /**
1580
1610
  * Auth Initializer Component
@@ -1687,10 +1717,15 @@ declare const useUserActions: () => {
1687
1717
  clearPublicUser: () => void;
1688
1718
  };
1689
1719
  /**
1690
- * Hook for checking authentication status
1720
+ * Hook for checking authentication status and user type
1691
1721
  */
1692
1722
  declare const useAuth: () => {
1693
- isAuthenticated: boolean;
1723
+ authStatus: {
1724
+ type: UserType;
1725
+ isAuthenticated: boolean;
1726
+ isPublic: boolean;
1727
+ isGuest: boolean;
1728
+ };
1694
1729
  isLoading: boolean;
1695
1730
  error: string | null;
1696
1731
  user: UserProfile | null;
@@ -1781,4 +1816,4 @@ declare const useAuthFlowModal: () => {
1781
1816
  openModal: () => void;
1782
1817
  };
1783
1818
 
1784
- 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 ProtectionRule, 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 };
1819
+ export { AUTH_ENDPOINTS, AlertDisplay, type AlertDisplayProps, type AnyStepProps, ApiErrorHandler, 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, AuthFlowStep, 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, 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 ProtectionRule, 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, UserType, VERIFICATION_SUBMISSION_NAVIGATION, 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 };