@cardscan.ai/insurance-cardscan-react
Version:
A library that makes it easy to add health insurance card scanning to any web application
22 lines (21 loc) • 664 B
TypeScript
import { RefObject } from "react";
export interface EnvironmentInfo {
type: string;
os: string;
osVersion: string;
browser: string;
browserVersion: string;
userAgent: string;
}
export interface DeviceInfo {
screenWidth: number;
screenHeight: number;
}
export declare function getEnvironmentInfo(): EnvironmentInfo;
export declare function getDeviceInfo(): DeviceInfo;
export declare function getRefSize(ref: RefObject<HTMLVideoElement | HTMLDivElement>): {
width: string | number;
height: string | number;
};
export declare function isInApp(): boolean;
export declare function getBrowserName(): string;