declare module 'react-qr-reader' {
    import { Component } from 'react';

    interface QrReaderProps {
        delay?: number;
        onError?: (error: any) => void;
        onScan?: (data: string | null) => void;
        style?: React.CSSProperties;
        facingMode?: 'user' | 'environment';
    }

    export default class QrReader extends Component<QrReaderProps> {}
}