import React from "react"; import ScanbotSDK from "./scanbot-sdk"; import { ScannerConfiguration } from "./model/configuration/scanner-configuration"; import ScanbotCameraView from "./view/scanbot-camera-view"; import { CameraFacingMode, CameraInfo } from "./model/camera-info"; import { WorkerBridge } from "./worker/worker-bridge"; import { Root } from "react-dom/client"; export declare class ScanbotCameraProps { configuration: ScannerConfiguration; root: Root; container?: HTMLElement; onSuccess?: (scanner: any) => void; onFailure?: (err: Error) => void; sdk?: ScanbotSDK; /** * The user should check that the license is valid before using a Scanner. * In case the license expires while the scanner is open, `onLicenseError` will be called. */ onLicenseError?: () => void; } export declare class ScanbotCameraState { videoReady: boolean; sdkReady: boolean; zoom?: number; } export declare abstract class ScannerView
extends React.Component
{
static DEFAULT_DETECTION_RESOLUTION: number;
static DETECTION_RESOLUTION_4K: number;
protected constructor(props: P);
camera: ScanbotCameraView | null;
disposed?: boolean;
get bridge(): WorkerBridge;
dispose(): void;
onSdkReady(): Promise