export default function handleApiCheck({ image, frontCardId: existingFrontCardId, qrImageId: existingQRImageId, onError, recordedVideos, apiClient, cardType, cardSide, qrScannedResult, outputEncryptionSettings, enabledServices, }: { image: any; frontCardId: any; qrImageId: any; onError: any; recordedVideos: any; apiClient: any; cardType: any; cardSide: any; qrScannedResult: any; outputEncryptionSettings: any; enabledServices: any; }): Promise<{ sanityResult: null; tamperingInfo: null; cardInfo: null; cardImageId: any; qrImageId: any; } | undefined>;