import QRCodeUtil from 'qrcode';
import React from 'react';
import { type BoxProps } from '../Box/Box';
type Props = {
    ecl?: QRCodeUtil.QRCodeErrorCorrectionLevel;
    logoBackground?: string;
    logoUrl?: string | (() => Promise<string>);
    logoMargin?: number;
    logoSize?: number;
    size?: number;
    uri: string;
    outsidePadding?: BoxProps['padding'];
    enableCornerMarkersRadius?: boolean;
    enableOuterBorder?: boolean;
    withShadow?: boolean;
};
/**
 * CAUTION: The size of the rendered QR code needs to be tested for the longest encoded {@link uri} string to make sure it's still readable/scannable.
 */
export declare function QRCode({ ecl, logoBackground, logoMargin, logoSize, logoUrl, size: sizeProp, uri, outsidePadding, enableCornerMarkersRadius, enableOuterBorder, withShadow, }: Props): React.JSX.Element;
export {};
