import { BarcodeReader } from 'dynamsoft-javascript-barcode'; import { BarcodeDetectorOptions, BarcodeFormat, DetectedBarcode } from './Definitions'; export * from './BarcodeDetectorDBR'; export * from './BarcodeDetectorZXing'; export * from './Definitions'; export declare type Engine = "DBR" | "ZXing"; export default class BarcodeDetector { static engine: Engine; private reader; constructor(barcodeDetectorOptions?: BarcodeDetectorOptions); static getSupportedFormats(): Promise; detect(image: ImageBitmapSource): Promise; static setDBREngineResourcePath(path: string): void; static setDBRLicense(license: string): void; static getDBRLicense(license: string): string; static initDBR(): Promise; }