import * as React from "react";
import { QRCodeSegment, QRCodeRenderersOptions } from "qrcode";
interface IProps extends QRCodeRenderersOptions {
    /** The data for the QR code. If `null`, a spinner is shown. */
    data: null | string | QRCodeSegment[];
    className?: string;
}
declare const QRCode: React.FC<IProps>;
export default QRCode;
