import * as React from 'react'; import type { QrCodeContextValue, QrCodeProps } from './types.js'; export declare const QrCodeProvider: React.FC, useQrCodeContext: (consumerName: string) => QrCodeContextValue; /** * Root of a QR code: encodes `value` into a matrix and provides it via context to child parts. * * @example * ```tsx * } /> * ``` */ export declare const QrCode: { ({ value, errorCorrection, version, onEncodeError, hiddenLabel, overlay, children, ref: forwardedRef, ...props }: QrCodeProps): React.ReactNode; displayName: string; };