1export type LocalAuthenticationResult = { success: true } | { success: false; error: string }; 2 3export enum AuthenticationType { 4 FINGERPRINT = 1, 5 FACIAL_RECOGNITION = 2, 6 // Android only 7 IRIS = 3, 8} 9 10export enum SecurityLevel { 11 NONE = 0, 12 SECRET = 1, 13 BIOMETRIC = 2, 14} 15 16export type LocalAuthenticationOptions = { 17 promptMessage?: string; 18 cancelLabel?: string; 19 disableDeviceFallback?: boolean; 20 // iOS only 21 fallbackLabel?: string; 22}; 23