/// import { type ReadInputBarcodeFormat, type ReadOutputBarcodeFormat } from "zxing-wasm/reader"; export declare const BARCODE_FORMATS: ("aztec" | "code_128" | "code_39" | "code_93" | "codabar" | "databar" | "databar_expanded" | "data_matrix" | "dx_film_edge" | "ean_13" | "ean_8" | "itf" | "maxi_code" | "micro_qr_code" | "pdf417" | "qr_code" | "rm_qr_code" | "upc_a" | "upc_e" | "linear_codes" | "matrix_codes" | "unknown")[]; export type BarcodeFormat = (typeof BARCODE_FORMATS)[number]; export type ReadResultBarcodeFormat = Exclude; export declare const formatMap: Map<"aztec" | "code_128" | "code_39" | "code_93" | "codabar" | "databar" | "databar_expanded" | "data_matrix" | "dx_film_edge" | "ean_13" | "ean_8" | "itf" | "maxi_code" | "micro_qr_code" | "pdf417" | "qr_code" | "rm_qr_code" | "upc_a" | "upc_e" | "linear_codes" | "matrix_codes" | "unknown", ReadInputBarcodeFormat>; export declare function convertFormat(target: ReadOutputBarcodeFormat): ReadResultBarcodeFormat; export declare function isBlob(image: ImageBitmapSourceWebCodecs): image is Blob; export declare function getImageDataOrBlobFromImageBitmapSource(image: ImageBitmapSourceWebCodecs): Promise; declare global { interface SVGImageElement { decode?(): Promise; } } export declare function addPrefixToExceptionOrError(e: unknown, prefix: string): TypeError | DOMException;