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, withPushToken: string | null ): Promise; removeCredential(): Promise; getChallenge(): Promise; updateChallenge( challengeId: string, withApproval: boolean, withVerificationCode: string | null ): Promise; updateCredential(pushToken: string): Promise; } export default TurboModuleRegistry.get('AuthsignalPushModule');