react-native-scanbot-barcode-scanner-sdk
Version:
Scanbot Barcode Scanner SDK React Native Plugin for Android and iOS
15 lines • 348 B
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']>>;
//# sourceMappingURL=customTypes.d.ts.map