UNPKG

scanbot-web-sdk

Version:

Scanbot Web Document and Barcode Scanner SDK

24 lines (23 loc) 1.17 kB
import React from "react"; import { ScanbotCameraProps, ScanbotCameraState } from "./scanner-view"; import { IDocumentDataExtractorHandle } from "./interfaces/i-document-data-extractor-handle"; import { DocumentDataExtractorViewConfiguration } from "./model/configuration/document-data-extractor-view-configuration"; import type ScanbotSDK from "./scanbot-sdk"; import FinderScannerView from "./finder-scanner-view"; declare class DocumentDataExtractorProps extends ScanbotCameraProps { configuration: DocumentDataExtractorViewConfiguration; sdk: ScanbotSDK; } export default class DocumentDataExtractorView extends FinderScannerView<DocumentDataExtractorProps, ScanbotCameraState> implements IDocumentDataExtractorHandle { private readonly configuration; private handle; constructor(props: DocumentDataExtractorProps); private static root; static create(sdk: ScanbotSDK, configuration: DocumentDataExtractorViewConfiguration): Promise<IDocumentDataExtractorHandle>; componentWillUnmount(): Promise<void>; get enabled(): boolean; onSdkReady(): Promise<void>; detect(): Promise<void>; render(): React.ReactNode; } export {};