import type { TurboModule } from 'react-native/Libraries/TurboModule/RCTExport'; import { TurboModuleRegistry} from 'react-native'; export interface Spec extends TurboModule { authenticate:( reason?: string,config?: {title?: string, imageColor?: string, imageErrorColor?: string, sensorDescription?: string, sensorErrorDescription?: string, cancelText?: string, fallbackLabel?: string, passcodeFallback?: string, unifiedErrors?: boolean },callback?:(err:{})=>void) => void; // Promise<{err:{},biometryType:string}> isSupported:(config : {unifiedErrors:boolean},callback:(err:{},biometryType:string)=>void) => void; } export default TurboModuleRegistry.get('NativeHarmonyTouchId') as Spec | null;