export interface NativeBarcodeDetector { detect: (source: CanvasImageSource) => Promise>; } export interface NativeBarcodeDetectorConstructor { new (init?: { formats?: string[]; }): NativeBarcodeDetector; getSupportedFormats: () => Promise; } declare global { interface Window { BarcodeDetector?: NativeBarcodeDetectorConstructor; } } export {}; //# sourceMappingURL=scannerNativeTypes.d.ts.map