/** * Platform-specific scanner engine ordering and UX hints. * Firefox: ZBar WASM + @zxing only — no @undecaf/barcode-detector-polyfill package. */ export type ScannerPlatformProfileId = 'chrome-android' | 'chrome-desktop' | 'ios-safari' | 'crios-ios' | 'firefox-desktop' | 'generic'; export interface ScannerPlatformProfile { readonly id: ScannerPlatformProfileId; /** Prefer preview snap CTA over live-only decode (PC webcams). */ readonly preferPreviewSnap: boolean; /** Run Chromium BarcodeDetector when probe succeeds. */ readonly nativeEnabled: boolean; /** ZBar full pass every frame (desktop); mobile uses budget backoff in hook. */ readonly zbarFullPassEveryFrame: boolean; /** @zxing assist starts on frame 0 (always true in v2.2). */ readonly zxingFrameZero: boolean; } /** * Resolve scanner platform profile from UA + feature hints. * Safe in SSR (returns `generic`). */ export declare function resolveScannerPlatformProfile(): ScannerPlatformProfile; export { resolveScannerPlatformProfile as getScannerPlatformProfile }; //# sourceMappingURL=scannerPlatformProfile.d.ts.map