import { Readable } from 'svelte/store'; import { Q as QrScannerOptions, a as QrResult, S as ScannerError, b as QrScanner, c as ScannerInternals } from './scanner-Cr2OWyoR.js'; /** * Svelte adapter (`cam2qr/svelte`): readable stores plus an action that own * a QrScanner's lifecycle. Uses only `svelte/store`, so it works across * Svelte 3, 4, and 5. Svelte is an optional peer dependency — this entry * point is only bundled when imported. */ interface CreateQrScannerOptions extends QrScannerOptions { /** * Suspend/resume decoding while keeping the camera stream warm — distinct * from unmounting the `