import React from "react";
import DocumentScannerView from "../../../../document-scanner-view";
import type ScanbotSDK from "../../../../scanbot-sdk";
import { HintTextConfiguration } from "../../../../model/configuration/document-scanner-view-configuration";
import { DocumentScanningFlow } from "../../../configuration/document/DocumentScanningFlow";
import { SnappingMode } from "../../controller/camera-screen-controller";
import { CameraInfo } from "../../../../model/camera-info";
import { DocumentScannerScanResponse } from "../../../../core-types";
import { Root } from "react-dom/client";
declare class Props {
    root: Root;
    sdk: ScanbotSDK;
    configuration: DocumentScanningFlow;
    onImageCaptured: (image: DocumentScannerScanResponse) => void;
    onUserGuidanceTextUpdate: (text: keyof HintTextConfiguration) => void;
    onError: (error: any) => void;
    onScannerLoaded: () => void;
    snappingMode: SnappingMode;
    scanningPaused: boolean;
    torchEnabled: boolean;
    pauseAR: boolean;
}
export declare function useDocumentScannerView(props: Props): {
    documentScannerView: React.ReactElement<typeof DocumentScannerView>;
    documentScannerViewRef: React.RefObject<DocumentScannerView>;
    torchSupported: boolean;
    scannerInitialized: boolean;
    availableCameras: CameraInfo[];
    activeCamera: CameraInfo | null;
    setActiveCamera: (camera: CameraInfo) => Promise<void>;
};
export {};
