import { BarcodeReader, TextResult } from "dynamsoft-javascript-barcode"; import { BarcodeDetectorOptions, BarcodeFormat, DetectedBarcode } from "./Definitions"; export default class BarcodeDetectorDBR { private formats; constructor(barcodeDetectorOptions?: BarcodeDetectorOptions); updateRuntimeSettings(): Promise; static setEngineResourcePath(path: string): void; static setLicense(license: string): void; static getLicense(): string; static init(): Promise; static getSupportedFormats(): Promise; detect(image: ImageBitmapSource): Promise; wrapResult(result: TextResult): DetectedBarcode; }