import React from 'react';
import { BarCodeReadEvent } from 'react-native-camera';
import { QrCodeScanError } from '../../types/error';
interface Props {
    handleCodeScan: (event: BarCodeReadEvent) => Promise<void>;
    error?: QrCodeScanError | null;
    enableCameraOnError?: boolean;
}
declare const QRScanner: React.FC<Props>;
export default QRScanner;
//# sourceMappingURL=QRScanner.d.ts.map