export declare const STORAGE_KEYS: { readonly AUTH_TOKEN: "auth_token"; readonly SDK_JWT_TOKEN: "sdk_jwt_token"; readonly ONAIROS_JWT_TOKEN: "onairos_jwt_token"; readonly ENOCH_TOKEN: "enoch_token"; readonly USER: "user"; readonly USER_PROFILE: "userProfile"; readonly USER_PROFILE_FALLBACK: "userProfileFallback"; readonly USER_PROGRESS: "user_progress"; readonly ONBOARDING_COMPLETED: "onboardingCompleted"; readonly IS_FIRST_TIME_USER: "isFirstTimeUser"; readonly USER_ATTENDANCE_CONFIRMED: "userAttendanceConfirmed"; readonly ONBOARDING_COMPLETE_TOKEN: "onboarding_complete_token"; readonly EVENT_ACCESS_TOKEN: "event_access_token"; readonly ONAIROS_USER: "onairos_user"; readonly APPLE_USER: "apple_user"; readonly AUTH_METHOD: "auth_method"; readonly CURRENT_EVENT_DATA: "currentEventData"; readonly CONNECTED_PLATFORMS: "connectedPlatforms"; readonly PROFILE_IMAGE: "profileImage"; readonly USER_ADMIN_STATUS: "user_admin_status"; }; export interface UserProgress { lastScreen: string; completedSteps: string[]; authMethod: 'apple' | 'onairos' | null; hasProfilePhoto: boolean; hasCompletedProfile: boolean; hasSelectedIntentions: boolean; hasViewedResults: boolean; eventCode?: string; hasEnteredEventCode: boolean; hasRegisteredForEvent?: boolean; hasReachedEventPage: boolean; eventData?: { eventType?: string; eventCode?: string; photo?: string; userProfile?: any; inferenceData?: any; }; timestamp: number; } export interface AuthState { isAuthenticated: boolean; authMethod: 'apple' | 'onairos' | null; hasValidToken: boolean; userEmail?: string; userName?: string; } /** * Save user progress to track where they left off */ export declare const saveUserProgress: (progress: Partial) => Promise; /** * Get user progress to determine where to resume */ export declare const getUserProgress: () => Promise; /** * Save authentication state */ export declare const saveAuthState: (authState: Partial) => Promise; /** * Get authentication state */ export declare const getAuthState: () => Promise; /** * Clear all user data (for logout) */ export declare const clearUserData: () => Promise; /** * Get resume navigation target based on user progress */ export declare const getResumeTarget: () => Promise<{ screen: string; params?: any; }>; /** * Check if user has completed onboarding flow */ export declare const hasCompletedOnboarding: () => Promise; /** * Mark user as having reached the event page (completed full onboarding) * This creates the token that ensures they always return to Results */ export declare const markEventPageReached: (eventData?: { eventType?: string; eventCode?: string; photo?: string; userProfile?: any; inferenceData?: any; }) => Promise; /** * Check if user has the event access token (completed onboarding) */ export declare const hasEventAccessToken: () => Promise; /** * Mark a step as completed */ export declare const markStepCompleted: (step: string) => Promise; /** * Update user's last screen */ export declare const updateLastScreen: (screen: string, params?: any) => Promise; /** * Check if this is a returning user with existing progress */ export declare const isReturningUser: () => Promise; /** * Mark app as active (call this when app becomes active) */ export declare const markAppActive: () => Promise; /** * Development utility: Get all stored progress data for debugging */ export declare const getDebugStorageInfo: () => Promise<{ progress: UserProgress; authState: AuthState; isReturning: boolean; resumeTarget: { screen: string; params?: any; }; }>; /** * Development utility: Clear all progress (for testing) */ export declare const clearAllProgress: () => Promise; //# sourceMappingURL=storageService.d.ts.map