import { Q as QrScannerOptions, a as QrResult, S as ScannerError, b as QrScanner, c as ScannerInternals } from './scanner-Cr2OWyoR.cjs'; interface UseQrScannerOptions extends QrScannerOptions { /** Set false to keep the camera off (and release it). Default true. */ enabled?: boolean; /** * Suspend/resume decoding while keeping the camera stream warm (no * black-flash or permission churn — distinct from `enabled`, which releases * the camera). Reactive: toggling it calls `pause()`/`resume()` on the live * scanner. `paused: true` from the first render starts suspended and lands * even during the async camera-startup window. */ paused?: boolean; } interface UseQrScannerReturn { /** Attach to the