export abstract class BiometricsServiceAbstraction { osSupportsBiometric: () => Promise; canAuthBiometric: ({ service, key, userId, }: { service: string; key: string; userId: string; }) => Promise; authenticateBiometric: () => Promise; getBiometricKey: (service: string, key: string) => Promise; setBiometricKey: (service: string, key: string, value: string) => Promise; setEncryptionKeyHalf: ({ service, key, value, }: { service: string; key: string; value: string; }) => void; deleteBiometricKey: (service: string, key: string) => Promise; } export interface OsBiometricService { osSupportsBiometric: () => Promise; authenticateBiometric: () => Promise; getBiometricKey: ( service: string, key: string, clientKeyHalfB64: string | undefined, ) => Promise; setBiometricKey: ( service: string, key: string, value: string, clientKeyHalfB64: string | undefined, ) => Promise; deleteBiometricKey: (service: string, key: string) => Promise; }