/** * Helper functions for training API modifications */ /** * Add encrypted PIN to training data if available */ export declare const addEncryptedPinToTrainingData: (trainingData: any) => Promise; /** * Example of how to modify the training API call to include PIN * * Usage in UniversalOnboarding.tsx: * * ```typescript * // Before sending to API * const trainingData = { * socketId, * username: finalUsername, * email: userInfo?.email || null, * modelKey: null, * connectedPlatforms: platformsList, * platformConnections: connections * }; * * // Add encrypted PIN if needed * const trainingDataWithPin = await addEncryptedPinToTrainingData(trainingData); * * // Send to API * const response = await fetch('${API_CONFIG.BASE_URL}/mobile-training/enoch', { * method: 'POST', * headers: { * 'Content-Type': 'application/json', * 'Authorization': `Bearer ${token}` * }, * body: JSON.stringify(trainingDataWithPin) * }); * ``` */ //# sourceMappingURL=trainingApiHelpers.d.ts.map