import * as React from 'react'; export interface QrCodeFrameProps extends Omit, 'children'> { /** QR image (data URL or URL). Empty while the code is being generated. */ src?: string | null; /** Accessible description, e.g. «Código QR para vincular WhatsApp». */ alt: string; /** Rendered side of the code in CSS px (frame adds the quiet zone). Default 256. */ size?: number; /** * White margin around the code in CSS px. Scanners need ~4 modules; for a * typical 25–41 module code at 256 px that is 24–40 px. Default 24. */ quietZone?: number; /** The session is starting / a new code is on its way. */ loading?: boolean; /** The code expired: dims it and shows the refresh action. */ expired?: boolean; /** Asks for a new code (shown when `expired`, or always if `showRefresh`). */ onRefresh?: () => void; showRefresh?: boolean; /** Caption under the code (instructions, countdown). */ caption?: React.ReactNode; } /** * Easy-to-scan QR frame: the code always sits on pure white with a real quiet * zone (dark mode and the glass theme never tint it), is upscaled with * `image-rendering: pixelated` so modules stay crisp, and keeps a fixed size so * the dialog does not jump when the code refreshes. Loading and expired states * are announced (`aria-live`) and never rely on color alone. * * i18n keys (optional): `qr_frame.loading`, `qr_frame.expired`, `qr_frame.refresh`. */ export declare function QrCodeFrame({ src, alt, size, quietZone, loading, expired, onRefresh, showRefresh, caption, className, ...props }: QrCodeFrameProps): React.JSX.Element; //# sourceMappingURL=qr-code-frame.d.ts.map