export interface OnairosCredentials { username: string; accessToken?: string; refreshToken?: string; userPin?: string; platforms?: { instagram?: { token: string; username: string; userId?: string; }; youtube?: { token: string; username: string; userId?: string; }; pinterest?: { token: string; username: string; userId?: string; }; reddit?: { token: string; username: string; userId?: string; }; }; createdAt: number; } export interface StorageOptions { service?: string; accessControl?: any; accessible?: any; } /** * Store credentials in memory (temporary solution) */ export declare const storeCredentials: (credentials: Partial) => Promise; /** * Retrieve credentials from memory (temporary solution) */ export declare const getCredentials: () => Promise; /** * Check if the user has stored credentials */ export declare const hasCredentials: () => Promise; /** * Delete stored credentials */ export declare const deleteCredentials: () => Promise; /** * Update specific fields in the stored credentials */ export declare const updateCredentials: (credentials: Partial) => Promise; /** * Generate a device-specific unique username */ export declare const generateDeviceUsername: () => string; /** * Verify credentials (temporary mock implementation) */ export declare const verifyCredentials: (username: string) => Promise; /** * JWT Token Storage Functions * These functions handle JWT tokens from email verification * * Note: Main JWT token management is handled in apiKeyService.ts * These are utility functions for backwards compatibility */ /** * Retrieve JWT token * @returns JWT token or null if not found */ export declare const getJWT: () => Promise; /** * Check if JWT token exists * @returns True if JWT token exists */ export declare const hasJWT: () => Promise; /** * Clear JWT token */ export declare const clearJWT: () => Promise; /** * Get JWT token payload (decoded) * @returns Decoded JWT payload or null if invalid */ export declare const getJWTPayload: () => Promise; /** * Check if JWT token is expired * @returns True if token is expired or invalid */ export declare const isJWTExpired: () => Promise; //# sourceMappingURL=secureStorage.d.ts.map