import { type StyleProp, type ViewStyle } from "../../style/index.js"; export interface QRCodeSkin { /** The card shape: quiet-zone padding, radius, and white field around the code. */ frame: ViewStyle; /** Near-black module color (the dark squares). Fixed for scan contrast. */ moduleColor: string; /** The light field behind the modules. Fixed for scan contrast. */ fieldColor: string; } export interface QRCodeProps { /** The string to encode: a URL, plain text, a token, etc. */ value: string; /** A compact 96px code. */ small?: boolean; /** A large 200px code. */ large?: boolean; /** * Spoken equivalent for screen readers. A QR code is camera-only content, so * without a label assistive tech announces nothing. Defaults to * `QR code encoding ${value}`; pass a generic label (e.g. "QR code") when * surfacing the raw value is undesirable. */ accessibilityLabel?: string; /** E2E hook forwarded to the root element. */ testID?: string; /** Outer layout composition only (width/flex within a parent), never a restyle hook. */ style?: StyleProp; } export declare function createQRCode(skin: QRCodeSkin): (props: QRCodeProps) => import("react").JSX.Element; //# sourceMappingURL=qrcode.shared.d.ts.map