/// export declare enum BarcodeScannerType { NONE = "NONE", MORPHSTICK = "MORPHSTICK", USB = "USB", CAMERA = "CAMERA" } export interface BarcodeScannerMethod { code: string | null; error: string | null; read: () => Promise; cancel: () => Promise; reset?: () => Promise; camera?: () => React.ReactNode; showScanner?: boolean; close?: () => void; } export declare abstract class ScanListener { constructor(); abstract read(callback?: any): Promise; abstract cancel(callback?: any): Promise; scannerComponent(callback?: any): any; }