import { TurboModuleRegistry, type TurboModule } from 'react-native'; export interface Spec extends TurboModule { initialize(tenantID: string, withBaseURL: string): Promise; getCredential(): Promise; addCredential( token: string | null, withRequireUserAuthentication: boolean, withKeychainAccess: string | null, withPerformAttestation: boolean ): Promise; removeCredential(): Promise; claimChallenge(challengeId: string): Promise; updateChallenge( challengeId: string, withApproval: boolean, withVerificationCode: string | null ): Promise; } export default TurboModuleRegistry.get('AuthsignalQRCodeModule');