@cardscan.ai/insurance-cardscan-react
Version:
A library that makes it easy to add health insurance card scanning to any web application
33 lines (32 loc) • 783 B
TypeScript
export declare const enum CaptureType {
manual = "manual",
automatic = "automatic",
selectedFile = "selectedFile"
}
export declare const enum ScanState {
pending = "pending",
processing = "processing",
rejected = "rejected",
skipped = "skipped",
completed = "completed",
error = "error",
unknown = "unknown"
}
export type PerformanceData = {
mobile: boolean;
browser: Browser;
video: ElementSize;
guide: ElementSize;
deviceId: string;
groupId: string;
};
type ElementSize = {
width: string | number;
height: string | number;
};
type Browser = {
name: string;
version: string;
};
export type LogLevel = "off" | "normal" | "verbose" | "detector" | "everything";
export {};