Anirudh1950's picture
Add files using upload-large-folder tool
4a5ef51 verified
Raw History Blame Contribute Delete
604 Bytes
import {NativeModule, requireNativeModule} from 'expo';
import type {BarcodeScanResult, ImageMetadata, TestBarcodeImage} from './MentraBarcodeScanner.types';
declare class MentraBarcodeScannerModule extends NativeModule<{}> {
createTestBarcodeImage(value: string): Promise<TestBarcodeImage>;
getImageMetadata(imageUri: string): Promise<ImageMetadata>;
isSupported(): Promise<boolean>;
openImage(imageUri: string): Promise<void>;
scanImage(imageUri: string): Promise<BarcodeScanResult[]>;
}
export default requireNativeModule<MentraBarcodeScannerModule>('MentraBarcodeScanner');