UNPKG

@cardscan.ai/insurance-cardscan-react

Version:

A library that makes it easy to add health insurance card scanning to any web application

12 lines (11 loc) 378 B
import { CardScanError } from "../types/types"; export type XMLError = { Message: { _text: string; }; Code: { _text: string; }; }; export declare const XMLErrortoCardScanError: (xmlErrorObj: XMLError, code: number) => CardScanError; export declare const generateError: (message: string, type?: string, code?: number) => CardScanError;