react-native-scanbot-sdk
Version:
Scanbot Document and Barcode Scanner SDK React Native Plugin for Android and iOS
10 lines (8 loc) • 308 B
text/typescript
export type Status = 'OK' | 'CANCELED';
export type ResultWrapper<T> = { status: Status } & T;
export type ResultWrapperWithMetadata<T, K> = { metadata?: K } & ResultWrapper<T>;
export type DocumentScannerMetadata = {
autoSnappingEnabled: boolean;
flashEnabled: boolean;
multiPageEnabled: boolean;
};