import type { ReactElement, HTMLAttributes, Ref } from "react";
import type SlQrCodeElement from "@shoelace-style/shoelace/dist/components/qr-code/qr-code.js";
export type { SlQrCodeElement };
export interface SlQrCodeProps extends HTMLAttributes {
ref?: Ref;
/**
* The QR code's value.
*/
value?: string;
/**
* The label for assistive devices to announce. If unspecified, the value will be used instead.
*/
label?: string;
/**
* The size of the QR code, in pixels.
*/
size?: number;
/**
* The fill color. This can be any valid CSS color, but not a CSS custom property.
*/
fill?: string;
/**
* The background color. This can be any valid CSS color or `transparent`. It cannot be a CSS custom property.
*/
background?: string;
/**
* The edge radius of each module. Must be between 0 and 0.5.
*/
radius?: number;
/**
* The level of error correction to use. [Learn more](https://www.qrcode.com/en/about/error_correction.html)
*/
errorCorrection?: "L" | "M" | "Q" | "H";
}
/**
* Generates a [QR code](https://www.qrcode.com/) and renders it using the [Canvas API](https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API).
*/
export default function SlQrCode(
props: SlQrCodeProps,
): ReactElement;