import type { EmitterSubscription } from 'react-native'; export type NfcConfig = { appKey: string; documentNumber: string; birthDate: string; expireDate: string; transactionId?: string; facePathStorage?: string; }; export type CheckNFCResponse = { cardNumber?: string; address?: string; nfcInfo: { sod?: string }; }; export type C06Config = { appKey: string; sod: string; idCardNumber: string; recentLocation?: string; deviceType?: string; transactionId?: string; }; export interface SDKeKYC { startNfcScan(cfg: NfcConfig): Promise; checkC06(cfg: C06Config): Promise; onNfcScanStart(cb: (e: any) => void): EmitterSubscription | null; onNfcScanSuccess(cb: (e: any) => void): EmitterSubscription | null; onNfcError(cb: (e: any) => void): EmitterSubscription | null; onC06Success(cb: (e: any) => void): EmitterSubscription | null; onC06Error(cb: (e: any) => void): EmitterSubscription | null; removeAllListeners(): void; }