react-native-scanbot-barcode-scanner-sdk
Version:
Scanbot Barcode Scanner SDK React Native Plugin for Android and iOS
15 lines (11 loc) • 308 B
text/typescript
import { ImageRef } from '../core';
export type ResultWrapper<T> = { status: 'CANCELED' } | { status: 'OK'; data: T };
export type ImageInput = string | ImageRef;
/**
* @hidden
*/
export type SerializedImageInput =
| {
imageFileUri: string;
}
| Awaited<ReturnType<ImageRef['serialize']>>;