UNPKG

@cardscan.ai/insurance-cardscan-react

Version:

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

7 lines (6 loc) 582 B
import { Messages } from "../types/scanview.types"; export declare const CardScanLogoURL: any; export declare const getBrowserHelperVideo: (browserName: string, isMobile: boolean) => any; export declare function dataURLtoFile(dataurl: string, filename: string): File; export declare const calculateGuides: (videoRefBg: React.RefObject<HTMLVideoElement>, frameDivRef: React.RefObject<HTMLDivElement>) => [number, number, number, number]; export declare const getHeaderTitle: (status: string, messageState: Messages, isAuto: boolean, isScanning: boolean) => string | undefined;