import { default as QRCodeStyling } from '@solana/qr-code-styling';
type QRCodeStylingOptions = NonNullable<ConstructorParameters<typeof QRCodeStyling>[0]>;
export interface QRCodeProps {
    /** 一般情况下仅使用 data/size/image 即可 */
    data: string;
    size: number;
    image?: string;
    /** 覆盖 qr-code-styling 配置 */
    config?: QRCodeStylingOptions;
}
declare function QRCode({ data, size, image, config, ...rest }: QRCodeProps): import("react/jsx-runtime").JSX.Element;
export default QRCode;
