#if 0
#elif defined(__arm64__) && __arm64__ || defined(__x86_64__) && __x86_64__
// Generated by Apple Swift version 5.0 effective-4.2 (swiftlang-1001.0.69.5 clang-1001.0.46.3)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wgcc-compat"

#if !defined(__has_include)
# define __has_include(x) 0
#endif
#if !defined(__has_attribute)
# define __has_attribute(x) 0
#endif
#if !defined(__has_feature)
# define __has_feature(x) 0
#endif
#if !defined(__has_warning)
# define __has_warning(x) 0
#endif

#if __has_include(<swift/objc-prologue.h>)
# include <swift/objc-prologue.h>
#endif

#pragma clang diagnostic ignored "-Wauto-import"
#include <Foundation/Foundation.h>
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>

#if !defined(SWIFT_TYPEDEFS)
# define SWIFT_TYPEDEFS 1
# if __has_include(<uchar.h>)
#  include <uchar.h>
# elif !defined(__cplusplus)
typedef uint_least16_t char16_t;
typedef uint_least32_t char32_t;
# endif
typedef float swift_float2  __attribute__((__ext_vector_type__(2)));
typedef float swift_float3  __attribute__((__ext_vector_type__(3)));
typedef float swift_float4  __attribute__((__ext_vector_type__(4)));
typedef double swift_double2  __attribute__((__ext_vector_type__(2)));
typedef double swift_double3  __attribute__((__ext_vector_type__(3)));
typedef double swift_double4  __attribute__((__ext_vector_type__(4)));
typedef int swift_int2  __attribute__((__ext_vector_type__(2)));
typedef int swift_int3  __attribute__((__ext_vector_type__(3)));
typedef int swift_int4  __attribute__((__ext_vector_type__(4)));
typedef unsigned int swift_uint2  __attribute__((__ext_vector_type__(2)));
typedef unsigned int swift_uint3  __attribute__((__ext_vector_type__(3)));
typedef unsigned int swift_uint4  __attribute__((__ext_vector_type__(4)));
#endif

#if !defined(SWIFT_PASTE)
# define SWIFT_PASTE_HELPER(x, y) x##y
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
#endif
#if !defined(SWIFT_METATYPE)
# define SWIFT_METATYPE(X) Class
#endif
#if !defined(SWIFT_CLASS_PROPERTY)
# if __has_feature(objc_class_property)
#  define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
# else
#  define SWIFT_CLASS_PROPERTY(...)
# endif
#endif

#if __has_attribute(objc_runtime_name)
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
#else
# define SWIFT_RUNTIME_NAME(X)
#endif
#if __has_attribute(swift_name)
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
#else
# define SWIFT_COMPILE_NAME(X)
#endif
#if __has_attribute(objc_method_family)
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
#else
# define SWIFT_METHOD_FAMILY(X)
#endif
#if __has_attribute(noescape)
# define SWIFT_NOESCAPE __attribute__((noescape))
#else
# define SWIFT_NOESCAPE
#endif
#if __has_attribute(warn_unused_result)
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
#else
# define SWIFT_WARN_UNUSED_RESULT
#endif
#if __has_attribute(noreturn)
# define SWIFT_NORETURN __attribute__((noreturn))
#else
# define SWIFT_NORETURN
#endif
#if !defined(SWIFT_CLASS_EXTRA)
# define SWIFT_CLASS_EXTRA
#endif
#if !defined(SWIFT_PROTOCOL_EXTRA)
# define SWIFT_PROTOCOL_EXTRA
#endif
#if !defined(SWIFT_ENUM_EXTRA)
# define SWIFT_ENUM_EXTRA
#endif
#if !defined(SWIFT_CLASS)
# if __has_attribute(objc_subclassing_restricted)
#  define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
#  define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
# else
#  define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
#  define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
# endif
#endif

#if !defined(SWIFT_PROTOCOL)
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
#endif

#if !defined(SWIFT_EXTENSION)
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
#endif

#if !defined(OBJC_DESIGNATED_INITIALIZER)
# if __has_attribute(objc_designated_initializer)
#  define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
# else
#  define OBJC_DESIGNATED_INITIALIZER
# endif
#endif
#if !defined(SWIFT_ENUM_ATTR)
# if defined(__has_attribute) && __has_attribute(enum_extensibility)
#  define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
# else
#  define SWIFT_ENUM_ATTR(_extensibility)
# endif
#endif
#if !defined(SWIFT_ENUM)
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
# if __has_feature(generalized_swift_name)
#  define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
# else
#  define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
# endif
#endif
#if !defined(SWIFT_UNAVAILABLE)
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
#endif
#if !defined(SWIFT_UNAVAILABLE_MSG)
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
#endif
#if !defined(SWIFT_AVAILABILITY)
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
#endif
#if !defined(SWIFT_DEPRECATED)
# define SWIFT_DEPRECATED __attribute__((deprecated))
#endif
#if !defined(SWIFT_DEPRECATED_MSG)
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
#endif
#if __has_feature(attribute_diagnose_if_objc)
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
#else
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
#endif
#if __has_feature(modules)
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
#endif
@import AVFoundation;
@import CoreGraphics;
@import CoreImage;
@import CoreMedia;
@import Foundation;
@import ObjectiveC;
@import QuartzCore;
@import UIKit;
#endif

#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
#if __has_warning("-Wpragma-clang-attribute")
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
#endif
#pragma clang diagnostic ignored "-Wunknown-pragmas"
#pragma clang diagnostic ignored "-Wnullability"

#if __has_attribute(external_source_symbol)
# pragma push_macro("any")
# undef any
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="DocumentReader",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
# pragma pop_macro("any")
#endif

@class NSCoder;

SWIFT_CLASS_NAMED("ActivityIndicator")
@interface ActivityIndicator : UIActivityIndicatorView
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
- (void)awakeFromNib;
- (nonnull instancetype)initWithActivityIndicatorStyle:(UIActivityIndicatorViewStyle)style SWIFT_UNAVAILABLE;
@end

typedef SWIFT_ENUM(NSInteger, Authenticity, closed) {
  AuthenticityNone = 0,
  AuthenticityUv_luminescence = 1,
  AuthenticityImage_pattern = 4,
  AuthenticityIpi = 128,
};


SWIFT_CLASS("_TtC14DocumentReader14AutoFocusLayer")
@interface AutoFocusLayer : CAShapeLayer
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
- (nonnull instancetype)initWithLayer:(id _Nonnull)layer SWIFT_UNAVAILABLE;
@end


SWIFT_CLASS_NAMED("Position")
@interface Position : NSObject
@property (nonatomic, readonly) CGSize size;
@property (nonatomic, readonly) CGPoint center;
@property (nonatomic, readonly) double angle;
@property (nonatomic, readonly, copy) NSArray<NSValue *> * _Nonnull bounds;
@property (nonatomic, readonly) double perspectiveTr;
@property (nonatomic, readonly) double objArea;
@property (nonatomic, readonly) double objIntAngleDev;
@property (nonatomic, readonly) BOOL resultStatusConfirmed;
@property (nonatomic, readonly) NSInteger docFormat;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end


SWIFT_CLASS_NAMED("BarcodePosition")
@interface BarcodePosition : Position
@end

typedef SWIFT_ENUM(NSInteger, BarcodeType, closed) {
  BarcodeTypePDF417 = 0,
  BarcodeTypeBarcode_1D = 1,
  BarcodeTypeQR = 2,
  BarcodeTypeAztec = 3,
  BarcodeTypeDatamatrix = 4,
};


SWIFT_CLASS("_TtC14DocumentReader10BleWrapper")
@interface BleWrapper : NSObject
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end


@interface BleWrapper (SWIFT_EXTENSION(DocumentReader))
- (void)deviceSearching;
- (void)deviceStopSearching;
- (void)deviceConnecting;
- (void)deviceConnected;
- (void)deviceDisconnected;
- (void)batteryLevelWithLevel:(NSInteger)level;
- (void)bleErrorWithError:(NSString * _Nonnull)error;
- (void)torchStartFlashing;
- (void)torchFinishFlashing;
@end




SWIFT_CLASS("_TtC14DocumentReader29CamManualPhotoCaptureDelegate") SWIFT_AVAILABILITY(ios,introduced=10.0)
@interface CamManualPhotoCaptureDelegate : NSObject
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end

@class AVCapturePhotoOutput;
@class AVCaptureResolvedPhotoSettings;
@class AVCaptureBracketedStillImageSettings;

SWIFT_AVAILABILITY(ios,introduced=10.0)
@interface CamManualPhotoCaptureDelegate (SWIFT_EXTENSION(DocumentReader)) <AVCapturePhotoCaptureDelegate>
- (void)captureOutput:(AVCapturePhotoOutput * _Nonnull)captureOutput willCapturePhotoForResolvedSettings:(AVCaptureResolvedPhotoSettings * _Nonnull)resolvedSettings;
- (void)captureOutput:(AVCapturePhotoOutput * _Nonnull)captureOutput didFinishProcessingPhotoSampleBuffer:(CMSampleBufferRef _Nullable)photoSampleBuffer previewPhotoSampleBuffer:(CMSampleBufferRef _Nullable)previewPhotoSampleBuffer resolvedSettings:(AVCaptureResolvedPhotoSettings * _Nonnull)resolvedSettings bracketSettings:(AVCaptureBracketedStillImageSettings * _Nullable)bracketSettings error:(NSError * _Nullable)error;
- (void)captureOutput:(AVCapturePhotoOutput * _Nonnull)captureOutput didFinishCaptureForResolvedSettings:(AVCaptureResolvedPhotoSettings * _Nonnull)resolvedSettings error:(NSError * _Nullable)error;
@end

typedef SWIFT_ENUM(NSInteger, CameraFrameShapeType, closed) {
  CameraFrameShapeTypeLine = 0,
  CameraFrameShapeTypeCorners = 1,
};

typedef SWIFT_ENUM(NSInteger, CheckResult, closed) {
  CheckResultError = 0,
  CheckResultOk = 1,
  CheckResultWasNotDone = 2,
};


SWIFT_CLASS("_TtC14DocumentReader10CornerView")
@interface CornerView : UIView
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
- (void)drawRect:(CGRect)rect;
@end

@class UIImage;
@class UIColor;
@class UIFont;

SWIFT_CLASS_NAMED("Customization")
@interface Customization : NSObject
@property (nonatomic) BOOL showHelpAnimation;
@property (nonatomic, strong) UIImage * _Nullable helpAnimationImage;
@property (nonatomic) BOOL showStatusMessages;
@property (nonatomic) BOOL showResultStatusMessages;
@property (nonatomic, copy) NSString * _Nullable status;
@property (nonatomic) CGFloat statusPositionMultiplier;
@property (nonatomic) CGFloat resultStatusPositionMultiplier;
@property (nonatomic) enum CameraFrameShapeType cameraFrameShapeType;
@property (nonatomic, strong) UIColor * _Nonnull tintColor;
@property (nonatomic, strong) UIColor * _Nonnull resultStatusTextColor;
@property (nonatomic, strong) UIFont * _Nullable resultStatusTextFont;
@property (nonatomic, strong) UIColor * _Nullable resultStatusBackgroundColor;
@property (nonatomic, strong) UIColor * _Nonnull cameraFrameDefaultColor;
@property (nonatomic, strong) UIColor * _Nonnull cameraFrameActiveColor;
@property (nonatomic) CGFloat cameraFrameBorderWidth;
@property (nonatomic, strong) UIColor * _Nonnull statusTextColor;
@property (nonatomic, strong) UIFont * _Nullable statusTextFont;
@property (nonatomic, strong) UIColor * _Nullable activityIndicatorColor;
@property (nonatomic, strong) UIColor * _Nullable multipageButtonBackgroundColor;
@property (nonatomic, strong) UIImage * _Nullable multipageAnimationFrontImage;
@property (nonatomic, strong) UIImage * _Nullable multipageAnimationBackImage;
@property (nonatomic) CGFloat cameraFrameLineLength;
@property (nonatomic) BOOL showNextPageAnimation;
@property (nonatomic) BOOL showBackgroundMask;
@property (nonatomic, strong) UIImage * _Nullable borderBackgroundImage;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end



@class ProcessParams;
@class Functionality;
@class DocReaderVersion;
@protocol DocumentReaderDelegate;
@class Scenario;
@class NSProgress;
enum DocReaderAction : NSInteger;
@class DocumentReaderResults;
@class UIViewController;
@class DocumentReaderCameraViewController;

SWIFT_CLASS_NAMED("DocReader")
@interface DocReader : NSObject
- (nonnull instancetype)initWithProcessParams:(ProcessParams * _Nullable)processParams OBJC_DESIGNATED_INITIALIZER;
@property (nonatomic, readonly, strong) Customization * _Nonnull customization;
@property (nonatomic, readonly, strong) Functionality * _Nonnull functionality;
@property (nonatomic, strong) DocReaderVersion * _Nullable version;
@property (nonatomic, strong) ProcessParams * _Nonnull processParams;
@property (nonatomic, weak) id <DocumentReaderDelegate> _Nullable delegate;
@property (nonatomic) BOOL cameraSessionIsPaused;
- (void)stopScanner;
@property (nonatomic, readonly, copy) NSString * _Nonnull documentReaderStatus;
@property (nonatomic, readonly) BOOL documentReaderIsReady;
@property (nonatomic, readonly, copy) NSArray<Scenario *> * _Nonnull availableScenarios;
- (void)prepareDatabaseWithDatabaseID:(NSString * _Nonnull)databaseID progressHandler:(void (^ _Nullable)(NSProgress * _Nonnull))progressHandler completion:(void (^ _Nonnull)(BOOL, NSString * _Nullable))completion;
- (void)runAutoUpdateWithDatabaseID:(NSString * _Nonnull)databaseID progressHandler:(void (^ _Nullable)(NSProgress * _Nonnull))progressHandler completion:(void (^ _Nonnull)(BOOL, NSString * _Nullable))completion;
- (void)invalidateAllDownloadSessions;
- (void)initilizeReaderWithLicense:(NSData * _Nonnull)license completion:(void (^ _Nonnull)(BOOL, NSString * _Nullable))completion;
- (void)initilizeReaderWithLicense:(NSData * _Nonnull)license databasePath:(NSString * _Nonnull)databasePath completion:(void (^ _Nonnull)(BOOL, NSString * _Nullable))completion;
- (void)recognizeImage:(UIImage * _Nonnull)image cameraMode:(BOOL)cameraMode completion:(void (^ _Nullable)(enum DocReaderAction, DocumentReaderResults * _Nullable, NSString * _Nullable))completion;
- (void)showScanner:(UIViewController * _Nonnull)presenter completion:(void (^ _Nullable)(enum DocReaderAction, DocumentReaderResults * _Nullable, NSString * _Nullable))completion;
- (UIViewController * _Nullable)prepareCameraViewControllerWithCameraViewController:(DocumentReaderCameraViewController * _Nullable)cameraViewController cameraHandler:(void (^ _Nullable)(enum DocReaderAction, DocumentReaderResults * _Nullable, NSString * _Nullable))cameraHandler SWIFT_WARN_UNUSED_RESULT;
- (void)startNewSession;
- (void)startNewPage;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end







typedef SWIFT_ENUM(NSInteger, DocReaderAction, closed) {
  DocReaderActionComplete = 0,
  DocReaderActionProcess = 1,
  DocReaderActionMorePagesAvailable = 2,
  DocReaderActionCancel = 3,
  DocReaderActionError = 4,
};


SWIFT_CLASS_NAMED("DocReaderDocumentsDatabase")
@interface DocReaderDocumentsDatabase : NSObject
@property (nonatomic, copy) NSString * _Nonnull databaseID;
@property (nonatomic, copy) NSString * _Nonnull version;
@property (nonatomic, readonly, copy) NSString * _Nonnull date;
@property (nonatomic, readonly, copy) NSString * _Nonnull databaseDescription;
@property (nonatomic, readonly) NSInteger countriesNumber;
@property (nonatomic, readonly) NSInteger documentsNumber;
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end

typedef SWIFT_ENUM(NSInteger, DocReaderFrame, closed) {
  DocReaderFrameScenarioDefault = 0,
  DocReaderFrameMax = 1,
  DocReaderFrameNone = 2,
};

typedef SWIFT_ENUM(NSInteger, DocReaderOrientation, closed) {
  DocReaderOrientationRotate = 0,
  DocReaderOrientationPortrait = 1,
  DocReaderOrientationLandscape = 2,
};


SWIFT_CLASS_NAMED("DocReaderVersion")
@interface DocReaderVersion : NSObject
@property (nonatomic, copy) NSString * _Nonnull api;
@property (nonatomic, readonly, copy) NSString * _Nonnull core;
@property (nonatomic, readonly, copy) NSString * _Nonnull coreMode;
@property (nonatomic, readonly, strong) DocReaderDocumentsDatabase * _Nonnull database;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end


SWIFT_CLASS_NAMED("DocumentPosition")
@interface DocumentPosition : Position
@end


SWIFT_CLASS("_TtC14DocumentReader35DocumentReaderAuthenticityCheckList")
@interface DocumentReaderAuthenticityCheckList : NSObject
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end

@protocol UIViewControllerTransitionCoordinator;
@class UIButton;
@class UITapGestureRecognizer;
@class NSBundle;

SWIFT_CLASS("_TtC14DocumentReader34DocumentReaderCameraViewController")
@interface DocumentReaderCameraViewController : UIViewController
@property (nonatomic, readonly) BOOL prefersStatusBarHidden;
@property (nonatomic, readonly) UIInterfaceOrientationMask supportedInterfaceOrientations;
- (void)viewDidLoad;
- (void)viewWillAppear:(BOOL)animated;
- (void)viewDidAppear:(BOOL)animated;
- (void)viewWillDisappear:(BOOL)animated;
- (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id <UIViewControllerTransitionCoordinator> _Nonnull)coordinator;
- (void)updateViewConstraints;
- (void)captureButtonTapped:(UIButton * _Nonnull)sender;
- (void)changeFrameTapped:(UIButton * _Nonnull)sender;
- (void)skipMultipageTapped:(UIButton * _Nonnull)sender;
- (void)tappedOnView:(UITapGestureRecognizer * _Nonnull)recognizer;
- (void)closeTapped:(UIButton * _Nonnull)button;
- (void)flashTapped:(UIButton * _Nonnull)button;
- (void)swapTapped:(UIButton * _Nonnull)button;
- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
@end



@class AVCaptureMetadataOutput;
@class AVMetadataObject;
@class AVCaptureConnection;

@interface DocumentReaderCameraViewController (SWIFT_EXTENSION(DocumentReader)) <AVCaptureMetadataOutputObjectsDelegate>
- (void)captureOutput:(AVCaptureMetadataOutput * _Nonnull)output didOutputMetadataObjects:(NSArray<AVMetadataObject *> * _Nonnull)metadataObjects fromConnection:(AVCaptureConnection * _Nonnull)connection;
@end





@class NSNotification;

@interface DocumentReaderCameraViewController (SWIFT_EXTENSION(DocumentReader))
- (void)sessionRuntimeErrorWithNotification:(NSNotification * _Nonnull)notification;
- (void)sessionWasInterruptedWithNotification:(NSNotification * _Nonnull)notification;
- (void)sessionInterruptionEndedWithNotification:(NSNotification * _Nonnull)notification;
- (void)subjectAreaDidChange:(NSNotification * _Nonnull)notification;
@end


@interface DocumentReaderCameraViewController (SWIFT_EXTENSION(DocumentReader))
- (void)processParamChanged;
@end


@interface DocumentReaderCameraViewController (SWIFT_EXTENSION(DocumentReader))
- (void)removeFocusLayer;
- (void)sessionPresentReady;
@end







@class AVCaptureOutput;

@interface DocumentReaderCameraViewController (SWIFT_EXTENSION(DocumentReader)) <AVCaptureVideoDataOutputSampleBufferDelegate>
- (void)captureOutput:(AVCaptureOutput * _Nonnull)captureOutput didOutputSampleBuffer:(CMSampleBufferRef _Nonnull)sampleBuffer fromConnection:(AVCaptureConnection * _Nonnull)connection;
- (void)resetBorderToDefault;
@end


SWIFT_PROTOCOL("_TtP14DocumentReader22DocumentReaderDelegate_")
@protocol DocumentReaderDelegate
@optional
- (void)documentReader:(DocReader * _Nonnull)documentReader didCompleteCameraScanning:(DocumentReaderResults * _Nullable)result;
- (void)documentReader:(DocReader * _Nonnull)documentReader didGetIntermediate:(DocumentReaderResults * _Nullable)result;
- (void)documentReader:(DocReader * _Nonnull)documentReader didGetMorePagesStatus:(DocumentReaderResults * _Nullable)result;
- (void)documentReader:(DocReader * _Nonnull)documentReader didCancelScaning:(DocumentReaderResults * _Nullable)result;
- (void)documentReader:(DocReader * _Nonnull)documentReader didNotInitialized:(NSString * _Nullable)error;
@end

enum diDocType : NSInteger;

SWIFT_CLASS_NAMED("DocumentReaderDocumentType")
@interface DocumentReaderDocumentType : NSObject
@property (nonatomic, readonly, copy) NSString * _Nullable name;
@property (nonatomic, readonly) NSInteger documentID;
@property (nonatomic, readonly, copy) NSString * _Nullable ICAOCode;
@property (nonatomic, readonly, copy) NSArray<NSNumber *> * _Nonnull FDSID;
@property (nonatomic, readonly) enum diDocType dType;
@property (nonatomic, readonly) NSInteger dFormat;
@property (nonatomic, readonly) BOOL dMRZ;
@property (nonatomic, readonly, copy) NSString * _Nullable dDescription;
@property (nonatomic, readonly, copy) NSString * _Nullable dYear;
@property (nonatomic, readonly, copy) NSString * _Nullable dCountryName;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end

enum ResultType : NSInteger;
enum GraphicFieldType : NSInteger;
enum GraphicFieldLight : NSInteger;

SWIFT_CLASS_NAMED("DocumentReaderGraphicField")
@interface DocumentReaderGraphicField : NSObject
@property (nonatomic, readonly) enum ResultType sourceType;
@property (nonatomic, readonly) enum GraphicFieldType fieldType;
@property (nonatomic, readonly, copy) NSString * _Nonnull fieldName;
@property (nonatomic, readonly) CGRect boundRect;
@property (nonatomic, readonly, strong) UIImage * _Nonnull value;
@property (nonatomic, readonly) enum GraphicFieldLight lightType;
@property (nonatomic, readonly, copy) NSString * _Nonnull lightName;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end


SWIFT_CLASS_NAMED("DocumentReaderGraphicResult")
@interface DocumentReaderGraphicResult : NSObject
@property (nonatomic, readonly, copy) NSArray<DocumentReaderGraphicField *> * _Nonnull fields;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end

@class DocumentReaderJsonResultGroup;

SWIFT_CLASS_NAMED("DocumentReaderJsonResult")
@interface DocumentReaderJsonResult : NSObject
@property (nonatomic, readonly, copy) NSArray<DocumentReaderJsonResultGroup *> * _Nonnull results;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end


SWIFT_CLASS_NAMED("DocumentReaderJsonResultGroup")
@interface DocumentReaderJsonResultGroup : NSObject
@property (nonatomic, readonly) enum ResultType resultType;
@property (nonatomic, readonly) NSInteger lightType;
@property (nonatomic, readonly) NSInteger pageIdx;
@property (nonatomic, readonly, copy) NSString * _Nonnull jsonResult;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end

@class DocumentReaderTextResult;
@class ImageQualityGroup;
enum ResolutionType : NSInteger;
enum FieldType : NSInteger;
enum LCID : NSInteger;
@class DocumentReaderTextField;

SWIFT_CLASS_NAMED("DocumentReaderResults")
@interface DocumentReaderResults : NSObject
@property (nonatomic, readonly, strong) DocumentReaderDocumentType * _Nullable documentType;
@property (nonatomic, readonly, strong) DocumentReaderTextResult * _Nonnull textResult;
@property (nonatomic, readonly, strong) DocumentReaderGraphicResult * _Nonnull graphicResult;
@property (nonatomic, readonly, strong) DocumentReaderJsonResult * _Nonnull jsonResult;
@property (nonatomic, readonly, strong) DocumentPosition * _Nullable documentPosition;
@property (nonatomic, readonly, strong) BarcodePosition * _Nullable barcodePosition;
@property (nonatomic, readonly, strong) ImageQualityGroup * _Nullable imageQualityGroup;
@property (nonatomic, readonly) enum CheckResult overallResult;
@property (nonatomic, readonly, strong) DocumentReaderAuthenticityCheckList * _Nullable authenticityCheckList;
@property (nonatomic) enum ResolutionType resolutionType;
- (NSString * _Nullable)getTextFieldValueByTypeWithFieldType:(enum FieldType)fieldType lcid:(enum LCID)lcid source:(enum ResultType)source original:(BOOL)original SWIFT_WARN_UNUSED_RESULT;
- (NSString * _Nullable)getTextFieldValueByTypeWithFieldType:(enum FieldType)fieldType lcid:(enum LCID)lcid source:(enum ResultType)source SWIFT_WARN_UNUSED_RESULT;
- (NSString * _Nullable)getTextFieldValueByTypeWithFieldType:(enum FieldType)fieldType lcid:(enum LCID)lcid SWIFT_WARN_UNUSED_RESULT;
- (NSString * _Nullable)getTextFieldValueByTypeWithFieldType:(enum FieldType)fieldType SWIFT_WARN_UNUSED_RESULT;
- (DocumentReaderTextField * _Nullable)getTextFieldByTypeWithFieldType:(enum FieldType)fieldType lcid:(enum LCID)lcid SWIFT_WARN_UNUSED_RESULT;
- (DocumentReaderTextField * _Nullable)getTextFieldByTypeWithFieldType:(enum FieldType)fieldType SWIFT_WARN_UNUSED_RESULT;
- (DocumentReaderGraphicField * _Nullable)getGraphicFieldByTypeWithFieldType:(enum GraphicFieldType)fieldType SWIFT_WARN_UNUSED_RESULT;
- (DocumentReaderGraphicField * _Nullable)getGraphicFieldByTypeWithFieldType:(enum GraphicFieldType)fieldType source:(enum ResultType)source SWIFT_WARN_UNUSED_RESULT;
- (DocumentReaderGraphicField * _Nullable)getGraphicFieldByTypeWithFieldType:(enum GraphicFieldType)fieldType source:(enum ResultType)source light:(enum GraphicFieldLight)light SWIFT_WARN_UNUSED_RESULT;
- (UIImage * _Nullable)getGraphicFieldImageByTypeWithFieldType:(enum GraphicFieldType)fieldType source:(enum ResultType)source light:(enum GraphicFieldLight)light SWIFT_WARN_UNUSED_RESULT;
- (UIImage * _Nullable)getGraphicFieldImageByTypeWithFieldType:(enum GraphicFieldType)fieldType source:(enum ResultType)source SWIFT_WARN_UNUSED_RESULT;
- (UIImage * _Nullable)getGraphicFieldImageByTypeWithFieldType:(enum GraphicFieldType)fieldType SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end

@class DocumentReaderValue;

SWIFT_CLASS_NAMED("DocumentReaderTextField")
@interface DocumentReaderTextField : NSObject
@property (nonatomic, readonly) enum FieldType fieldType;
@property (nonatomic, readonly, copy) NSString * _Nonnull fieldName;
@property (nonatomic, readonly) enum LCID lcid;
@property (nonatomic, readonly, copy) NSString * _Nonnull lcidName;
@property (nonatomic, readonly, copy) NSArray<DocumentReaderValue *> * _Nonnull values;
@property (nonatomic, readonly) enum CheckResult status;
/// / when all valididy and comparison are disable - for ch_Check_WasNotDone
/// page 108 eCheckResult
@property (nonatomic, readonly, strong) DocumentReaderValue * _Nullable value;
- (nonnull instancetype)initWithFieldType:(enum FieldType)fieldType OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)initWithFieldType:(enum FieldType)fieldType lcid:(enum LCID)lcid OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end


SWIFT_CLASS_NAMED("DocumentReaderTextResult")
@interface DocumentReaderTextResult : NSObject
@property (nonatomic, readonly, copy) NSArray<DocumentReaderTextField *> * _Nonnull fields;
@property (nonatomic, readonly) enum CheckResult status;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end

enum FieldVerificationResult : NSInteger;

SWIFT_CLASS_NAMED("DocumentReaderValue")
@interface DocumentReaderValue : NSObject
@property (nonatomic, readonly) enum ResultType sourceType;
@property (nonatomic, readonly, copy) NSString * _Nonnull value;
@property (nonatomic, readonly, copy) NSString * _Nonnull originalValue;
@property (nonatomic, readonly) CGRect boundRect;
@property (nonatomic, readonly) enum FieldVerificationResult validity;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end


SWIFT_CLASS("_TtC14DocumentReader12DocumentView")
@interface DocumentView : UIImageView
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)initWithImage:(UIImage * _Nullable)image SWIFT_UNAVAILABLE;
- (nonnull instancetype)initWithImage:(UIImage * _Nullable)image highlightedImage:(UIImage * _Nullable)highlightedImage SWIFT_UNAVAILABLE;
@end

typedef SWIFT_ENUM(NSInteger, EImageQualityCheckType, closed) {
  EImageQualityCheckTypeIqc_ImageGlares = 0,
  EImageQualityCheckTypeIqc_ImageFocus = 1,
  EImageQualityCheckTypeIqc_ImageResolution = 2,
};

typedef SWIFT_ENUM(NSInteger, FieldType, closed) {
  FieldTypeFt_Document_Class_Code = 0,
  FieldTypeFt_Issuing_State_Code = 1,
  FieldTypeFt_Document_Number = 2,
  FieldTypeFt_Date_of_Expiry = 3,
  FieldTypeFt_Date_of_Issue = 4,
  FieldTypeFt_Date_of_Birth = 5,
  FieldTypeFt_Place_of_Birth = 6,
  FieldTypeFt_Personal_Number = 7,
  FieldTypeFt_Surname = 8,
  FieldTypeFt_Given_Names = 9,
  FieldTypeFt_Mothers_Name = 10,
  FieldTypeFt_Nationality = 11,
  FieldTypeFt_Sex = 12,
  FieldTypeFt_Height = 13,
  FieldTypeFt_Weight = 14,
  FieldTypeFt_Eyes_Color = 15,
  FieldTypeFt_Hair_Color = 16,
  FieldTypeFt_Address = 17,
  FieldTypeFt_Donor = 18,
  FieldTypeFt_Social_Security_Number = 19,
  FieldTypeFt_DL_Class = 20,
  FieldTypeFt_DL_Endorsed = 21,
  FieldTypeFt_DL_Restriction_Code = 22,
  FieldTypeFt_DL_Under_21_Date = 23,
  FieldTypeFt_Authority = 24,
  FieldTypeFt_Surname_And_Given_Names = 25,
  FieldTypeFt_Nationality_Code = 26,
  FieldTypeFt_Passport_Number = 27,
  FieldTypeFt_Invitation_Number = 28,
  FieldTypeFt_Visa_ID = 29,
  FieldTypeFt_Visa_Class = 30,
  FieldTypeFt_Visa_SubClass = 31,
  FieldTypeFt_MRZ_String1 = 32,
  FieldTypeFt_MRZ_String2 = 33,
  FieldTypeFt_MRZ_String3 = 34,
  FieldTypeFt_MRZ_Type = 35,
  FieldTypeFt_Optional_Data = 36,
  FieldTypeFt_Document_Class_Name = 37,
  FieldTypeFt_Issuing_State_Name = 38,
  FieldTypeFt_Place_of_Issue = 39,
  FieldTypeFt_Document_Number_Checksum = 40,
  FieldTypeFt_Date_of_Birth_Checksum = 41,
  FieldTypeFt_Date_of_Expiry_Checksum = 42,
  FieldTypeFt_Personal_Number_Checksum = 43,
  FieldTypeFt_FinalChecksum = 44,
  FieldTypeFt_Passport_Number_Checksum = 45,
  FieldTypeFt_Invitation_Number_Checksum = 46,
  FieldTypeFt_Visa_ID_Checksum = 47,
  FieldTypeFt_Surname_And_Given_Names_Checksum = 48,
  FieldTypeFt_Visa_Valid_Until_Checksum = 49,
  FieldTypeFt_Other = 50,
  FieldTypeFt_MRZ_Strings = 51,
  FieldTypeFt_Name_Suffix = 52,
  FieldTypeFt_Name_Prefix = 53,
  FieldTypeFt_Date_of_Issue_Checksum = 54,
  FieldTypeFt_Date_of_Issue_CheckDigit = 55,
  FieldTypeFt_Document_Series = 56,
  FieldTypeFt_RegCert_RegNumber = 57,
  FieldTypeFt_RegCert_CarModel = 58,
  FieldTypeFt_RegCert_CarColor = 59,
  FieldTypeFt_RegCert_BodyNumber = 60,
  FieldTypeFt_RegCert_CarType = 61,
  FieldTypeFt_RegCert_MaxWeight = 62,
  FieldTypeFt_Reg_Cert_Weight = 63,
  FieldTypeFt_Address_Area = 64,
  FieldTypeFt_Address_State = 65,
  FieldTypeFt_Address_Building = 66,
  FieldTypeFt_Address_House = 67,
  FieldTypeFt_Address_Flat = 68,
  FieldTypeFt_Place_of_Registration = 69,
  FieldTypeFt_Date_of_Registration = 70,
  FieldTypeFt_Resident_From = 71,
  FieldTypeFt_Resident_Until = 72,
  FieldTypeFt_Authority_Code = 73,
  FieldTypeFt_Place_of_Birth_Area = 74,
  FieldTypeFt_Place_of_Birth_StateCode = 75,
  FieldTypeFt_Address_Street = 76,
  FieldTypeFt_Address_City = 77,
  FieldTypeFt_Address_Jurisdiction_Code = 78,
  FieldTypeFt_Address_Postal_Code = 79,
  FieldTypeFt_Document_Number_CheckDigit = 80,
  FieldTypeFt_Date_of_Birth_CheckDigit = 81,
  FieldTypeFt_Date_of_Expiry_CheckDigit = 82,
  FieldTypeFt_Personal_Number_CheckDigit = 83,
  FieldTypeFt_FinalCheckDigit = 84,
  FieldTypeFt_Passport_Number_CheckDigit = 85,
  FieldTypeFt_Invitation_Number_CheckDigit = 86,
  FieldTypeFt_Visa_ID_CheckDigit = 87,
  FieldTypeFt_Surname_And_Given_Names_CheckDigit = 88,
  FieldTypeFt_Visa_Valid_Until_CheckDigit = 89,
  FieldTypeFt_Permit_DL_Class = 90,
  FieldTypeFt_Permit_Date_of_Expiry = 91,
  FieldTypeFt_Permit_Identifier = 92,
  FieldTypeFt_Permit_Date_of_Issue = 93,
  FieldTypeFt_Permit_Restriction_Code = 94,
  FieldTypeFt_Permit_Endorsed = 95,
  FieldTypeFt_Issue_Timestamp = 96,
  FieldTypeFt_Number_of_Duplicates = 97,
  FieldTypeFt_Medical_Indicator_Codes = 98,
  FieldTypeFt_Non_Resident_Indicator = 99,
  FieldTypeFt_Visa_Type = 100,
  FieldTypeFt_Visa_Valid_From = 101,
  FieldTypeFt_Visa_Valid_Until = 102,
  FieldTypeFt_Duration_of_Stay = 103,
  FieldTypeFt_Number_of_Entries = 104,
  FieldTypeFt_Day = 105,
  FieldTypeFt_Month = 106,
  FieldTypeFt_Year = 107,
  FieldTypeFt_Unique_Customer_Identifier = 108,
  FieldTypeFt_Commercial_Vehicle_Codes = 109,
  FieldTypeFt_AKA_Date_of_Birth = 110,
  FieldTypeFt_AKA_Social_Security_Number = 111,
  FieldTypeFt_AKA_Surname = 112,
  FieldTypeFt_AKA_Given_Names = 113,
  FieldTypeFt_AKA_Name_Suffix = 114,
  FieldTypeFt_AKA_Name_Prefix = 115,
  FieldTypeFt_Mailing_Address_Street = 116,
  FieldTypeFt_Mailing_Address_City = 117,
  FieldTypeFt_Mailing_Address_Jurisdiction_Code = 118,
  FieldTypeFt_Mailing_Address_Postal_Code = 119,
  FieldTypeFt_Audit_Information = 120,
  FieldTypeFt_Inventory_Number = 121,
  FieldTypeFt_Race_Ethnicity = 122,
  FieldTypeFt_Jurisdiction_Vehicle_Class = 123,
  FieldTypeFt_Jurisdiction_Endorsement_Code = 124,
  FieldTypeFt_Jurisdiction_Restriction_Code = 125,
  FieldTypeFt_Family_Name = 126,
  FieldTypeFt_Given_Names_RUS = 127,
  FieldTypeFt_Visa_ID_RUS = 128,
  FieldTypeFt_Fathers_Name = 129,
  FieldTypeFt_Fathers_Name_RUS = 130,
  FieldTypeFt_Surname_And_Given_Names_RUS = 131,
  FieldTypeFt_Place_Of_Birth_RUS = 132,
  FieldTypeFt_Authority_RUS = 133,
  FieldTypeFt_Issuing_State_Code_Numeric = 134,
  FieldTypeFt_Nationality_Code_Numeric = 135,
  FieldTypeFt_Engine_Power = 136,
  FieldTypeFt_Engine_Volume = 137,
  FieldTypeFt_Chassis_Number = 138,
  FieldTypeFt_Engine_Number = 139,
  FieldTypeFt_Engine_Model = 140,
  FieldTypeFt_Vehicle_Category = 141,
  FieldTypeFt_Identity_Card_Number = 142,
  FieldTypeFt_Control_No = 143,
  FieldTypeFt_Parrent_s_Given_Names = 144,
  FieldTypeFt_Second_Surname = 145,
  FieldTypeFt_Middle_Name = 146,
  FieldTypeFt_RegCert_VIN = 147,
  FieldTypeFt_RegCert_VIN_CheckDigit = 148,
  FieldTypeFt_RegCert_VIN_Checksum = 149,
  FieldTypeFt_Line1_CheckDigit = 150,
  FieldTypeFt_Line2_CheckDigit = 151,
  FieldTypeFt_Line3_CheckDigit = 152,
  FieldTypeFt_Line1_Checksum = 153,
  FieldTypeFt_Line2_Checksum = 154,
  FieldTypeFt_Line3_Checksum = 155,
  FieldTypeFt_RegCert_RegNumber_CheckDigit = 156,
  FieldTypeFt_RegCert_RegNumber_Checksum = 157,
  FieldTypeFt_RegCert_Vehicle_ITS_Code = 158,
  FieldTypeFt_Card_Access_Number = 159,
  FieldTypeFt_Marital_Status = 160,
  FieldTypeFt_Company_Name = 161,
  FieldTypeFt_Special_Notes = 162,
  FieldTypeFt_Surname_of_Spose = 163,
  FieldTypeFt_Tracking_Number = 164,
  FieldTypeFt_Booklet_Number = 165,
  FieldTypeFt_Children = 166,
  FieldTypeFt_Copy = 167,
  FieldTypeFt_Serial_Number = 168,
  FieldTypeFt_Dossier_Number = 169,
  FieldTypeFt_AKA_Surname_And_Given_Names = 170,
  FieldTypeFt_Territorial_Validity = 171,
  FieldTypeFt_MRZ_Strings_With_Correct_CheckSums = 172,
  FieldTypeFt_DL_CDL_Restriction_Code = 173,
  FieldTypeFt_DL_Under_18_Date = 174,
  FieldTypeFt_DL_Record_Created = 175,
  FieldTypeFt_DL_Duplicate_Date = 176,
  FieldTypeFt_DL_Iss_Type = 177,
  FieldTypeFt_Military_Book_Number = 178,
  FieldTypeFt_Destination = 179,
  FieldTypeFt_Blood_Group = 180,
  FieldTypeFt_Sequence_Number = 181,
  FieldTypeFt_RegCert_BodyType = 182,
  FieldTypeFt_RegCert_CarMark = 183,
  FieldTypeFt_Transaction_Number = 184,
  FieldTypeFt_Age = 185,
  FieldTypeFt_Folio_Number = 186,
  FieldTypeFt_Voter_Key = 187,
  FieldTypeFt_Address_Municipality = 188,
  FieldTypeFt_Address_Location = 189,
  FieldTypeFt_Section = 190,
  FieldTypeFt_OCR_Number = 191,
  FieldTypeFt_Federal_Elections = 192,
  FieldTypeFt_Reference_Number = 193,
  FieldTypeFt_Optional_Data_Checksum = 194,
  FieldTypeFt_Optional_Data_CheckDigit = 195,
  FieldTypeFt_Visa_Number = 196,
  FieldTypeFt_Visa_Number_Checksum = 197,
  FieldTypeFt_Visa_Number_CheckDigit = 198,
  FieldTypeFt_Voter = 199,
  FieldTypeFt_Previous_Type = 200,
  FieldTypeFt_FieldFromMRZ = 220,
  FieldTypeFt_CurrentDate = 221,
  FieldTypeFt_Status_Date_of_Expiry = 251,
  FieldTypeFt_Banknote_Number = 252,
  FieldTypeFt_CSC_Code = 253,
  FieldTypeFt_Artistic_Name = 254,
  FieldTypeFt_Academic_Title = 255,
  FieldTypeFt_Address_Country = 256,
  FieldTypeFt_Address_Zipcode = 257,
  FieldTypeFt_eID_Residence_Permit1 = 258,
  FieldTypeFt_eID_Residence_Permit2 = 259,
  FieldTypeFt_eID_PlaceOfBirth_Street = 260,
  FieldTypeFt_eID_PlaceOfBirth_City = 261,
  FieldTypeFt_eID_PlaceOfBirth_State = 262,
  FieldTypeFt_eID_PlaceOfBirth_Country = 263,
  FieldTypeFt_eID_PlaceOfBirth_Zipcode = 264,
  FieldTypeFt_CDL_Class = 265,
  FieldTypeFt_DL_Under_19_Date = 266,
  FieldTypeFt_Weight_pounds = 267,
  FieldTypeFt_Limited_Duration_Document_Indicator = 268,
  FieldTypeFt_Endorsement_Expiration_Date = 269,
  FieldTypeFt_Revision_Date = 270,
  FieldTypeFt_Compliance_Type = 271,
  FieldTypeFt_Family_name_truncation = 272,
  FieldTypeFt_First_name_truncation = 273,
  FieldTypeFt_Middle_name_truncation = 274,
  FieldTypeFt_Exam_Date = 275,
  FieldTypeFt_Organization = 276,
  FieldTypeFt_Department = 277,
  FieldTypeFt_Pay_Grade = 278,
  FieldTypeFt_Rank = 279,
  FieldTypeFt_Benefits_Number = 280,
  FieldTypeFt_Sponsor_Service = 281,
  FieldTypeFt_Sponsor_Status = 282,
  FieldTypeFt_Sponsor = 283,
  FieldTypeFt_Relationship = 284,
  FieldTypeFt_USCIS = 285,
  FieldTypeFt_Category = 286,
  FieldTypeFt_Conditions = 287,
  FieldTypeFt_Identifier = 288,
  FieldTypeFt_Configuration = 289,
  FieldTypeFt_Discretionary_data = 290,
  FieldTypeFt_Line1_Optional_Data = 291,
  FieldTypeFt_Line2_Optional_Data = 292,
  FieldTypeFt_Line3_Optional_Data = 293,
  FieldTypeFt_EQV_Code = 294,
  FieldTypeFt_ALT_Code = 295,
  FieldTypeFt_Binary_Code = 296,
  FieldTypeFt_Pseudo_Code = 297,
  FieldTypeFt_Fee = 298,
  FieldTypeFt_Stamp_Number = 299,
  FieldTypeFt_SBH_SecurityOptions = 300,
  FieldTypeFt_SBH_IntegrityOptions = 301,
  FieldTypeFt_Date_of_Creation = 302,
  FieldTypeFt_Validity_Period = 303,
  FieldTypeFt_Patron_Header_Version = 304,
  FieldTypeFt_BDB_Type = 305,
  FieldTypeFt_Biometric_Type = 306,
  FieldTypeFt_Biometric_Subtype = 307,
  FieldTypeFt_Biometric_ProductID = 308,
  FieldTypeFt_Biometric_Format_Owner = 309,
  FieldTypeFt_Biometric_Format_Type = 310,
  FieldTypeFt_Phone = 311,
  FieldTypeFt_Profession = 312,
  FieldTypeFt_Title = 313,
  FieldTypeFt_Personal_Summary = 314,
  FieldTypeFt_Other_Valid_ID = 315,
  FieldTypeFt_Custody_Info = 316,
  FieldTypeFt_Other_Name = 317,
  FieldTypeFt_Observations = 318,
  FieldTypeFt_Tax = 319,
  FieldTypeFt_Date_of_Personalization = 320,
  FieldTypeFt_Personalization_SN = 321,
  FieldTypeFt_OtherPerson_Name = 322,
  FieldTypeFt_PersonToNotify_Date_of_Record = 323,
  FieldTypeFt_PersonToNotify_Name = 324,
  FieldTypeFt_PersonToNotify_Phone = 325,
  FieldTypeFt_PersonToNotify_Address = 326,
  FieldTypeFt_DS_Certificate_Issuer = 327,
  FieldTypeFt_DS_Certificate_Subject = 328,
  FieldTypeFt_DS_Certificate_ValidFrom = 329,
  FieldTypeFt_DS_Certificate_ValidTo = 330,
  FieldTypeFt_VRC_DataObject_Entry = 331,
  FieldTypeFt_TypeApprovalNumber = 332,
  FieldTypeFt_AdministrativeNumber = 333,
  FieldTypeFt_DocumentDiscriminator = 334,
  FieldTypeFt_DataDiscriminator = 335,
  FieldTypeFt_ISO_Issuer_ID_Number = 336,
  FieldTypeFt_GNIB_Number = 340,
  FieldTypeFt_Dept_Number = 341,
  FieldTypeFt_Telex_Code = 342,
  FieldTypeFt_Allergies = 343,
  FieldTypeFt_Sp_Code = 344,
  FieldTypeFt_Court_Code = 345,
  FieldTypeFt_Cty = 346,
  FieldTypeFt_Sponsor_SSN = 347,
  FieldTypeFt_DoD_Number = 348,
  FieldTypeFt_MC_Novice_Date = 349,
  FieldTypeFt_DUF_Number = 350,
  FieldTypeFt_AGY = 351,
  FieldTypeFt_PNR_Code = 352,
  FieldTypeFt_From_Airport_Code = 353,
  FieldTypeFt_To_Airport_Code = 354,
  FieldTypeFt_Flight_Number = 355,
  FieldTypeFt_Date_of_Flight = 356,
  FieldTypeFt_Seat_Number = 357,
  FieldTypeFt_Date_of_Issue_Boarding_Pass = 358,
  FieldTypeFt_CCW_Until = 359,
  FieldTypeFt_Reference_Number_Checksum = 360,
  FieldTypeFt_Reference_Number_CheckDigit = 361,
  FieldTypeFt_Room_Number = 362,
  FieldTypeFt_Religion = 363,
  FieldTypeFt_RemainderTerm = 364,
  FieldTypeFt_Electronic_Ticket_Indicator = 365,
  FieldTypeFt_Compartment_Code = 366,
  FieldTypeFt_CheckIn_Sequence_Number = 367,
  FieldTypeFt_Airline_Designator_of_boarding_pass_issuer = 368,
  FieldTypeFt_Airline_Numeric_Code = 369,
  FieldTypeFt_Ticket_Number = 370,
  FieldTypeFt_Frequent_Flyer_Airline_Designator = 371,
  FieldTypeFt_Frequent_Flyer_Number = 372,
  FieldTypeFt_Free_Baggage_Allowance = 373,
  FieldTypeFt_PDF417Codec = 374,
  FieldTypeFt_Identity_Card_Number_Checksum = 375,
  FieldTypeFt_Identity_Card_Number_CheckDigit = 376,
  FieldTypeFt_Veteran = 377,
  FieldTypeFt_DLClassCode_A1_From = 378,
  FieldTypeFt_DLClassCode_A1_To = 379,
  FieldTypeFt_DLClassCode_A1_Notes = 380,
  FieldTypeFt_DLClassCode_A_From = 381,
  FieldTypeFt_DLClassCode_A_To = 382,
  FieldTypeFt_DLClassCode_A_Notes = 383,
  FieldTypeFt_DLClassCode_B_From = 384,
  FieldTypeFt_DLClassCode_B_To = 385,
  FieldTypeFt_DLClassCode_B_Notes = 386,
  FieldTypeFt_DLClassCode_C1_From = 387,
  FieldTypeFt_DLClassCode_C1_To = 388,
  FieldTypeFt_DLClassCode_C1_Notes = 389,
  FieldTypeFt_DLClassCode_C_From = 390,
  FieldTypeFt_DLClassCode_C_To = 391,
  FieldTypeFt_DLClassCode_C_Notes = 392,
  FieldTypeFt_DLClassCode_D1_From = 393,
  FieldTypeFt_DLClassCode_D1_To = 394,
  FieldTypeFt_DLClassCode_D1_Notes = 395,
  FieldTypeFt_DLClassCode_D_From = 396,
  FieldTypeFt_DLClassCode_D_To = 397,
  FieldTypeFt_DLClassCode_D_Notes = 398,
  FieldTypeFt_DLClassCode_BE_From = 399,
  FieldTypeFt_DLClassCode_BE_To = 400,
  FieldTypeFt_DLClassCode_BE_Notes = 401,
  FieldTypeFt_DLClassCode_C1E_From = 402,
  FieldTypeFt_DLClassCode_C1E_To = 403,
  FieldTypeFt_DLClassCode_C1E_Notes = 404,
  FieldTypeFt_DLClassCode_CE_From = 405,
  FieldTypeFt_DLClassCode_CE_To = 406,
  FieldTypeFt_DLClassCode_CE_Notes = 407,
  FieldTypeFt_DLClassCode_D1E_From = 408,
  FieldTypeFt_DLClassCode_D1E_To = 409,
  FieldTypeFt_DLClassCode_D1E_Notes = 410,
  FieldTypeFt_DLClassCode_DE_From = 411,
  FieldTypeFt_DLClassCode_DE_To = 412,
  FieldTypeFt_DLClassCode_DE_Notes = 413,
  FieldTypeFt_DLClassCode_M_From = 414,
  FieldTypeFt_DLClassCode_M_To = 415,
  FieldTypeFt_DLClassCode_M_Notes = 416,
  FieldTypeFt_DLClassCode_L_From = 417,
  FieldTypeFt_DLClassCode_L_To = 418,
  FieldTypeFt_DLClassCode_L_Notes = 419,
  FieldTypeFt_DLClassCode_T_From = 420,
  FieldTypeFt_DLClassCode_T_To = 421,
  FieldTypeFt_DLClassCode_T_Notes = 422,
  FieldTypeFt_DLClassCode_AM_From = 423,
  FieldTypeFt_DLClassCode_AM_To = 424,
  FieldTypeFt_DLClassCode_AM_Notes = 425,
  FieldTypeFt_DLClassCode_A2_From = 426,
  FieldTypeFt_DLClassCode_A2_To = 427,
  FieldTypeFt_DLClassCode_A2_Notes = 428,
  FieldTypeFt_DLClassCode_B1_From = 429,
  FieldTypeFt_DLClassCode_B1_To = 430,
  FieldTypeFt_DLClassCode_B1_Notes = 431,
  FieldTypeFt_Surname_at_Birth = 432,
  FieldTypeFt_Civil_Status = 433,
  FieldTypeFt_Number_of_Seats = 434,
  FieldTypeFt_Number_of_Standing_Places = 435,
  FieldTypeFt_Max_Speed = 436,
  FieldTypeFt_Fuel_Type = 437,
  FieldTypeFt_EC_Environmental_Type = 438,
  FieldTypeFt_Power_Weight_Ratio = 439,
  FieldTypeFt_Max_Mass_of_Trailer_Braked = 440,
  FieldTypeFt_Max_Mass_of_Trailer_Unbraked = 441,
  FieldTypeFt_Transmission_Type = 442,
  FieldTypeFt_Trailer_Hitch = 443,
  FieldTypeFt_Accompanied_by = 444,
  FieldTypeFt_Police_District = 445,
  FieldTypeFt_First_Issue_Date = 446,
  FieldTypeFt_Payload_Capacity = 447,
  FieldTypeFt_Number_of_Axels = 448,
  FieldTypeFt_Permissible_Axle_Load = 449,
  FieldTypeFt_Precinct = 450,
  FieldTypeFt_Invited_by = 451,
  FieldTypeFt_Purpose_of_Entry = 452,
  FieldTypeFt_Skin_Color = 453,
  FieldTypeFt_Complexion = 454,
  FieldTypeFt_Airport_From = 455,
  FieldTypeFt_Airport_To = 456,
  FieldTypeFt_Airline_Name = 457,
  FieldTypeFt_Airline_Name_Frequent_Flyer = 458,
  FieldTypeFt_License_Number = 459,
  FieldTypeFt_In_Tanks = 460,
  FieldTypeFt_Exept_In_Tanks = 461,
  FieldTypeFt_Fast_Track = 462,
  FieldTypeFt_Owner = 463,
  FieldTypeFt_MRZ_Strings_ICAO_RFID = 464,
  FieldTypeFt_Number_of_Card_Issuance = 465,
  FieldTypeFt_Number_of_Card_Issuance_Checksum = 466,
  FieldTypeFt_Number_of_Card_Issuance_CheckDigit = 467,
  FieldTypeFt_Century_Date_of_Birth = 468,
  FieldTypeFt_DLClassCode_A3_From = 469,
  FieldTypeFt_DLClassCode_A3_To = 470,
  FieldTypeFt_DLClassCode_A3_Notes = 471,
  FieldTypeFt_DLClassCode_C2_From = 472,
  FieldTypeFt_DLClassCode_C2_To = 473,
  FieldTypeFt_DLClassCode_C2_Notes = 474,
  FieldTypeFt_DLClassCode_B2_From = 475,
  FieldTypeFt_DLClassCode_B2_To = 476,
  FieldTypeFt_DLClassCode_B2_Notes = 477,
  FieldTypeFt_DLClassCode_D2_From = 478,
  FieldTypeFt_DLClassCode_D2_To = 479,
  FieldTypeFt_DLClassCode_D2_Notes = 480,
  FieldTypeFt_DLClassCode_B2E_From = 481,
  FieldTypeFt_DLClassCode_B2E_To = 482,
  FieldTypeFt_DLClassCode_B2E_Notes = 483,
  FieldTypeFt_DLClassCode_G_From = 484,
  FieldTypeFt_DLClassCode_G_To = 485,
  FieldTypeFt_DLClassCode_G_Notes = 486,
  FieldTypeFt_DLClassCode_J_From = 487,
  FieldTypeFt_DLClassCode_J_To = 488,
  FieldTypeFt_DLClassCode_J_Notes = 489,
  FieldTypeFt_DLClassCode_LC_From = 490,
  FieldTypeFt_DLClassCode_LC_To = 491,
  FieldTypeFt_DLClassCode_LC_Notes = 492,
  FieldTypeFt_BankCardNumber = 493,
  FieldTypeFt_BankCardValidThru = 494,
  FieldTypeFt_TaxNumber = 495,
  FieldTypeFt_HealthNumber = 496,
  FieldTypeFt_GrandfatherName = 497,
  FieldTypeFt_Selectee_Indicator = 498,
  FieldTypeFt_Mother_Surname = 499,
  FieldTypeFt_Mother_GivenName = 500,
  FieldTypeFt_Father_Surname = 501,
  FieldTypeFt_Father_GivenName = 502,
  FieldTypeFt_Mother_DateOfBirth = 503,
  FieldTypeFt_Father_DateOfBirth = 504,
  FieldTypeFt_Mother_PersonalNumber = 505,
  FieldTypeFt_Father_PersonalNumber = 506,
  FieldTypeFt_Mother_PlaceOfBirth = 507,
  FieldTypeFt_Father_PlaceOfBirth = 508,
  FieldTypeFt_Mother_CountryOfBirth = 509,
  FieldTypeFt_Father_CountryOfBirth = 510,
};

typedef SWIFT_ENUM(NSInteger, FieldVerificationResult, closed) {
  FieldVerificationResultDisabled = 0,
  FieldVerificationResultVerified = 1,
  FieldVerificationResultNotVerified = 2,
  FieldVerificationResultCompareTrue = 3,
  FieldVerificationResultCompareFalse = 4,
};




SWIFT_CLASS_NAMED("Functionality")
@interface Functionality : NSObject
@property (nonatomic) enum DocReaderFrame cameraFrame;
@property (nonatomic) BOOL showTorchButton;
@property (nonatomic) BOOL showCloseButton;
@property (nonatomic) BOOL showCaptureButton;
@property (nonatomic) BOOL showChangeFrameButton;
@property (nonatomic) BOOL showCameraSwitchBtn;
@property (nonatomic) BOOL showSkipNextPageButton;
@property (nonatomic) BOOL skipFocusingFrames;
@property (nonatomic) AVCaptureSessionPreset _Nullable videoSessionPreset;
@property (nonatomic) BOOL videoCaptureMotionControl;
@property (nonatomic) UIInterfaceOrientationMask orientation;
@property (nonatomic) BOOL isOnlineMode;
@property (nonatomic, copy) NSString * _Nullable serviceURL;
@property (nonatomic) BOOL singleResult;
@property (nonatomic) AVCaptureDevicePosition cameraPosition;
- (BOOL)setUVTorchEnabledWithEnabled:(BOOL)enabled error:(NSError * _Nullable * _Nullable)error;
- (BOOL)setRfidEnabledWithEnabled:(BOOL)enabled error:(NSError * _Nullable * _Nullable)error;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end

typedef SWIFT_ENUM(NSInteger, GraphicFieldLight, closed) {
  GraphicFieldLightUv = 128,
  GraphicFieldLightWhite = 6,
};

typedef SWIFT_ENUM(NSInteger, GraphicFieldType, closed) {
  GraphicFieldTypeGf_Portrait = 201,
  GraphicFieldTypeGf_Fingerprint = 202,
  GraphicFieldTypeGf_Eye = 203,
  GraphicFieldTypeGf_Signature = 204,
  GraphicFieldTypeGf_BarCode = 205,
  GraphicFieldTypeGf_ProofOfCitizenship = 206,
  GraphicFieldTypeGf_DocumentFront = 207,
  GraphicFieldTypeGf_DocumentRear = 208,
  GraphicFieldTypeGf_ColorDynamic = 209,
  GraphicFieldTypeGf_GhostPortrait = 210,
  GraphicFieldTypeGf_Stamp = 211,
  GraphicFieldTypeGf_Other = 250,
  GraphicFieldTypeGf_FingerLeftThumb = 300,
  GraphicFieldTypeGf_FingerLeftIndex = 301,
  GraphicFieldTypeGf_FingerLeftMiddle = 302,
  GraphicFieldTypeGf_FingerLeftRing = 303,
  GraphicFieldTypeGf_FingerLeftLittle = 304,
  GraphicFieldTypeGf_FingerRightThumb = 305,
  GraphicFieldTypeGf_FingerRightIndex = 306,
  GraphicFieldTypeGf_FingerRightMiddle = 307,
  GraphicFieldTypeGf_FingerRightRing = 308,
  GraphicFieldTypeGf_FingerRightLittle = 309,
};


SWIFT_CLASS_NAMED("ImageQuality")
@interface ImageQuality : NSObject
@property (nonatomic, readonly) enum EImageQualityCheckType type;
@property (nonatomic, readonly) enum CheckResult result;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end


SWIFT_CLASS_NAMED("ImageQualityGroup")
@interface ImageQualityGroup : NSObject
@property (nonatomic, readonly) NSInteger count;
@property (nonatomic, readonly) enum CheckResult result;
@property (nonatomic, readonly, copy) NSArray<ImageQuality *> * _Nonnull imageQualityList;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end

typedef SWIFT_ENUM(NSInteger, LCID, closed) {
  LCIDLatin = 0,
  LCIDAfrikaans = 1078,
  LCIDAlbanian = 1052,
  LCIDArabicAlgeria = 5121,
  LCIDArabicBahrain = 15361,
  LCIDArabicEgypt = 3073,
  LCIDArabicIraq = 2049,
  LCIDArabicJordan = 11265,
  LCIDArabicKuwait = 13313,
  LCIDArabicLebanon = 12289,
  LCIDArabicLibya = 4097,
  LCIDArabicMorocco = 6145,
  LCIDArabicOman = 8193,
  LCIDArabicQatar = 16385,
  LCIDArabicSaudiArabia = 1025,
  LCIDArabicSyria = 10241,
  LCIDArabicTunisia = 7169,
  LCIDArabicUAE = 14337,
  LCIDArabicYemen = 9217,
  LCIDAzeriCyrillic = 2092,
  LCIDAzeriLatin = 1068,
  LCIDBasque = 1069,
  LCIDBelarusian = 1059,
  LCIDBulgarian = 1026,
  LCIDCatalan = 1027,
  LCIDCroatian = 1050,
  LCIDCzech = 1029,
  LCIDDanish = 1030,
  LCIDDutchBelgium = 2067,
  LCIDDutchNetherlands = 1043,
  LCIDEnglishAustralia = 3081,
  LCIDEnglishBelize = 10249,
  LCIDEnglishCanada = 4105,
  LCIDEnglishCaribbean = 9225,
  LCIDEnglishIreland = 6153,
  LCIDEnglishJamaica = 8201,
  LCIDEnglishNewZealand = 5129,
  LCIDEnglishPhilippines = 13321,
  LCIDEnglishSouthAfrica = 7177,
  LCIDEnglishTrinidad = 11273,
  LCIDEnglishUnitedKingdom = 2057,
  LCIDEnglishUnitedStates = 1033,
  LCIDEnglishZimbabwe = 12297,
  LCIDEstonian = 1061,
  LCIDFaroese = 1080,
  LCIDFarsi = 1065,
  LCIDFinnish = 1035,
  LCIDFrenchBelgium = 2060,
  LCIDFrenchCanada = 3084,
  LCIDFrenchFrance = 1036,
  LCIDFrenchLuxembourg = 5132,
  LCIDFrenchMonaco = 6156,
  LCIDFrenchSwitzerland = 4108,
  LCIDFyroMacedonian = 1071,
  LCIDGalician = 1110,
  LCIDGeorgian = 1079,
  LCIDGermanAustria = 3079,
  LCIDGermanGermany = 1031,
  LCIDGermanLiechtenstein = 5127,
  LCIDGermanLuxembourg = 4103,
  LCIDGermanSwitzerland = 2055,
  LCIDGreek = 1032,
  LCIDHebrew = 1037,
  LCIDHungarian = 1038,
  LCIDIcelandic = 1039,
  LCIDIndonesian = 1057,
  LCIDItalianItaly = 1040,
  LCIDItalianSwitzerland = 2064,
  LCIDKazakh = 1087,
  LCIDKyrgyzCyrillic = 1088,
  LCIDLatvian = 1062,
  LCIDLithuanian = 1063,
  LCIDMalayBruneiDarussalam = 2110,
  LCIDMalayMalaysia = 1086,
  LCIDMongolianCyrillic = 1104,
  LCIDNorwegianBokmal = 1044,
  LCIDNorwegianNynorsk = 2068,
  LCIDPolish = 1045,
  LCIDPortugueseBrazil = 1046,
  LCIDPortuguesePortugal = 2070,
  LCIDRhaetoRomanic = 1047,
  LCIDRomanian = 1048,
  LCIDRussian = 1049,
  LCIDSerbianCyrillic = 3098,
  LCIDSerbianLatin = 2074,
  LCIDSlovak = 1051,
  LCIDSlovenian = 1060,
  LCIDSpanishArgentina = 11274,
  LCIDSpanishBolivia = 16394,
  LCIDSpanishChile = 13322,
  LCIDSpanishColombia = 9226,
  LCIDSpanishCostaRica = 5130,
  LCIDSpanishDominicanRepublic = 7178,
  LCIDSpanishEcuador = 12298,
  LCIDSpanishElSalvador = 17418,
  LCIDSpanishGuatemala = 4106,
  LCIDSpanishHonduras = 18442,
  LCIDSpanishInternationalSort = 3082,
  LCIDSpanishMexico = 2058,
  LCIDSpanishNicaragua = 19466,
  LCIDSpanishPanama = 6154,
  LCIDSpanishParaguay = 15370,
  LCIDSpanishPeru = 10250,
  LCIDSpanishPuertoRico = 20490,
  LCIDSpanishTraditionalSort = 1034,
  LCIDSpanishUruguay = 14346,
  LCIDSpanishVenezuela = 8202,
  LCIDSwahili = 1089,
  LCIDSwedish = 1053,
  LCIDSwedishFinland = 2077,
  LCIDTatar = 1092,
  LCIDTurkish = 1055,
  LCIDUkrainian = 1058,
  LCIDUrdu = 1056,
  LCIDUzbekCyrillic = 2115,
  LCIDUzbekLatin = 1091,
  LCIDVietnamese = 1066,
  LCIDTajikCyrillic = 1064,
  LCIDCustom = 9999,
};


SWIFT_CLASS_NAMED("License")
@interface License : NSObject
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end

typedef SWIFT_ENUM(NSInteger, LightType, closed) {
  LightTypeWhite = 6,
  LightTypeUv = 128,
};


SWIFT_CLASS("_TtC14DocumentReader8Localize")
@interface Localize : NSObject
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end


SWIFT_CLASS("_TtC14DocumentReader8MaskView")
@interface MaskView : UIView
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
- (void)layoutSubviews;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
@end




SWIFT_CLASS("_TtC14DocumentReader14NetworkService")
@interface NetworkService : NSObject
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end

@class NSURLSession;
@class NSURLSessionDataTask;
@class NSURLResponse;
@class NSURLSessionTask;

@interface NetworkService (SWIFT_EXTENSION(DocumentReader)) <NSURLSessionDataDelegate>
- (void)URLSession:(NSURLSession * _Nonnull)session dataTask:(NSURLSessionDataTask * _Nonnull)dataTask didReceiveResponse:(NSURLResponse * _Nonnull)response completionHandler:(void (^ _Nonnull)(NSURLSessionResponseDisposition))completionHandler;
- (void)URLSession:(NSURLSession * _Nonnull)session dataTask:(NSURLSessionDataTask * _Nonnull)dataTask didReceiveData:(NSData * _Nonnull)data;
- (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task didCompleteWithError:(NSError * _Nullable)error;
@end



SWIFT_CLASS("_TtC14DocumentReader11PreviewView")
@interface PreviewView : UIView
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) Class _Nonnull layerClass;)
+ (Class _Nonnull)layerClass SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
@end


SWIFT_CLASS_NAMED("ProcessParams")
@interface ProcessParams : NSObject
@property (nonatomic, copy) NSString * _Nullable scenario;
@property (nonatomic) BOOL logs;
@property (nonatomic) BOOL multipageProcessing;
@property (nonatomic) BOOL disableFocusingCheck;
@property (nonatomic) BOOL debugSaveImages;
@property (nonatomic) BOOL debugSaveCroppedImages;
@property (nonatomic) BOOL debugSaveLogs;
@property (nonatomic, copy) NSString * _Nonnull dateFormat;
@property (nonatomic, copy) NSArray<NSNumber *> * _Nullable documentIDList;
@property (nonatomic, readonly, copy) NSString * _Nullable sessionLogFolder;
@property (nonatomic, copy) NSArray<NSNumber *> * _Nullable fieldTypesFilter;
@property (nonatomic, copy) NSArray<NSNumber *> * _Nullable barcodeTypes;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end

typedef SWIFT_ENUM(NSInteger, RGLCommand, closed) {
  RGLCommandTestCommand = 0,
};


SWIFT_CLASS("_TtC14DocumentReader30RGLDataTransferCallbackHandler")
@interface RGLDataTransferCallbackHandler : NSObject
- (void)closureReturnWithParams:(NSArray * _Nonnull)params withCompletionHandler:(void (^ _Nonnull)(NSInteger, NSData * _Nonnull, NSString * _Nonnull))withCompletionHandler;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end

typedef SWIFT_ENUM(NSInteger, ResolutionType, closed) {
  ResolutionTypeHd1920x1080 = 0,
  ResolutionTypeHd4K3840x2160 = 1,
};

typedef SWIFT_ENUM(NSInteger, ResultType, closed) {
  ResultTypeEmpty = 0,
  ResultTypeRawImage = 1,
  ResultTypeFileImage = 2,
  ResultTypeMrzOCRExtended = 3,
  ResultTypeBarCodes = 5,
  ResultTypeGraphics = 6,
  ResultTypeMrzTestQuality = 7,
  ResultTypeDocumentTypesCandidates = 8,
  ResultTypeChosenDocumentTypeCandidate = 9,
  ResultTypeDocumentsInfoList = 10,
  ResultTypeOcrLexicalAnalyze = 15,
  ResultTypeRawUncroppedImage = 16,
  ResultTypeVisualOCRExtended = 17,
  ResultTypeBarCodesTextData = 18,
  ResultTypeBarCodesImageData = 19,
  ResultTypeAuthenticity = 20,
  ResultTypeExpertAnalyze = 21,
  ResultTypeOcrLexicalAnalyzeEx = 22,
  ResultTypeEosImage = 23,
  ResultTypeBayer = 24,
  ResultTypeMagneticStripe = 25,
  ResultTypeMagneticStripeTextData = 26,
  ResultTypeFieldFileImage = 27,
  ResultTypeDatabaseCheck = 28,
  ResultTypeFingerprintTemplateISO = 29,
  ResultTypeInputImageQuality = 30,
  ResultTypeMrzPosition = 61,
  ResultTypeBarcodePosition = 62,
  ResultTypeDocumentPosition = 85,
  ResultTypeCustom = 100,
  ResultTypeRfid_raw_data = 101,
  ResultTypeRfid_text_data = 102,
  ResultTypeRfid_image_data = 103,
  ResultTypeRfid_binary_data = 104,
  ResultTypeRfid_original_graphics = 105,
};


SWIFT_CLASS_NAMED("RoundedView")
@interface RoundedView : UIView
- (void)layoutSubviews;
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
@end


SWIFT_CLASS_NAMED("Scenario")
@interface Scenario : NSObject
@property (nonatomic, readonly, copy) NSString * _Nonnull identifier;
@property (nonatomic, readonly) enum DocReaderFrame frame;
@property (nonatomic, readonly) double frameKWHLandscape;
@property (nonatomic, readonly) double frameKWHPortrait;
@property (nonatomic, readonly, copy) NSString * _Nonnull scenarioDescription;
@property (nonatomic, readonly) BOOL barcodeExt;
@property (nonatomic, readonly) BOOL faceExt;
@property (nonatomic, readonly) BOOL multiPageOff;
@property (nonatomic, readonly, copy) NSString * _Nonnull caption;
@property (nonatomic, readonly) BOOL uvTorch;
@property (nonatomic, readonly) enum DocReaderOrientation frameOrientation;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end


@interface Scenario (SWIFT_EXTENSION(DocumentReader))
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
@end

typedef SWIFT_ENUM(NSInteger, SecurityFeatureType, closed) {
  SecurityFeatureTypeNone = -1,
  SecurityFeatureTypeBlank = 0,
  SecurityFeatureTypePhoto = 2,
  SecurityFeatureTypeMrz = 128,
};


SWIFT_CLASS("_TtC14DocumentReader11TargetLayer")
@interface TargetLayer : CAShapeLayer
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
- (nonnull instancetype)initWithLayer:(id _Nonnull)layer SWIFT_UNAVAILABLE;
@end







typedef SWIFT_ENUM(NSInteger, diDocType, closed) {
  diDocTypeDtNotDefined = 0,
  diDocTypeDtPassport = 11,
  diDocTypeDtIdentityCard = 12,
  diDocTypeDtDiplomaticPassport = 13,
  diDocTypeDtServicePassport = 14,
  diDocTypeDtSeamansIdentityDocument = 15,
  diDocTypeDtIdentityCardforResidence = 16,
  diDocTypeDtTraveldocument = 17,
  diDocTypeDtOther = 99,
  diDocTypeDtVisaID2 = 29,
  diDocTypeDtVisaID3 = 30,
  diDocTypeDtRegistrationCertificate = 31,
  diDocTypeDtNationalIdentityCard = 20,
  diDocTypeDtSocialIdentityCard = 21,
  diDocTypeDtAliensIdentityCard = 22,
  diDocTypeDtPrivilegedIdentityCard = 23,
  diDocTypeDtResidencePermitIdentityCard = 24,
  diDocTypeDtOriginCard = 25,
  diDocTypeDtEmergencyPassport = 26,
  diDocTypeDtAliensPassport = 27,
  diDocTypeDtAlternativeIdentityCard = 28,
  diDocTypeDtAuthorizationCard = 32,
  diDocTypeDtBeginnerPermit = 33,
  diDocTypeDtBorderCrossingCard = 34,
  diDocTypeDtChauffeurLicense = 35,
  diDocTypeDtChauffeurLicenseUnder18 = 36,
  diDocTypeDtChauffeurLicenseUnder21 = 37,
  diDocTypeDtCommercialDrivingLicense = 38,
  diDocTypeDtCommercialDrivingLicenseIndtuctionalPermit = 39,
  diDocTypeDtCommercialDrivingLicenseUnder18 = 40,
  diDocTypeDtCommercialDrivingLicenseUnder21 = 41,
  diDocTypeDtCommercialIndtuctionPermit = 42,
  diDocTypeDtCommercialNewPermit = 43,
  diDocTypeDtConcealedCarryLicense = 44,
  diDocTypeDtConcealedFirearmPermit = 45,
  diDocTypeDtConditionalDrivingLicense = 46,
  diDocTypeDtDepartmentOfVeteransAffairsIdentityCard = 47,
  diDocTypeDtDiplomaticDrivingLicense = 48,
  diDocTypeDtDrivingLicense = 49,
  diDocTypeDtDrivingLicenseIndtuctionalPermit = 50,
  diDocTypeDtDrivingLicenseIndtuctionalPermitUnder18 = 51,
  diDocTypeDtDrivingLicenseIndtuctionalPermitUnder21 = 52,
  diDocTypeDtDrivingLicenseLearnersPermit = 53,
  diDocTypeDtDrivingLicenseLearnersPermitUnder18 = 54,
  diDocTypeDtDrivingLicenseLearnersPermitUnder21 = 55,
  diDocTypeDtDrivingLicenseNovice = 56,
  diDocTypeDtDrivingLicenseNoviceUnder18 = 57,
  diDocTypeDtDrivingLicenseNoviceUnder21 = 58,
  diDocTypeDtDrivingLicenseRegisteredOffender = 59,
  diDocTypeDtDrivingLicenseRedtictedUnder18 = 60,
  diDocTypeDtDrivingLicenseRedtictedUnder21 = 61,
  diDocTypeDtDrivingLicenseTemporaryVisitor = 62,
  diDocTypeDtDrivingLicenseTemporaryVisitorUnder18 = 63,
  diDocTypeDtDrivingLicenseTemporaryVisitorUnder21 = 64,
  diDocTypeDtDrivingLicenseUnder18 = 65,
  diDocTypeDtDrivingLicenseUnder21 = 66,
  diDocTypeDtEmploymentDrivingPermit = 67,
  diDocTypeDtEnhancedChauffeurLicense = 68,
  diDocTypeDtEnhancedChauffeurLicenseUnder18 = 69,
  diDocTypeDtEnhancedChauffeurLicenseUnder21 = 70,
  diDocTypeDtEnhancedCommercialDrivingLicense = 71,
  diDocTypeDtEnhancedDrivingLicense = 72,
  diDocTypeDtEnhancedDrivingLicenseUnder18 = 73,
  diDocTypeDtEnhancedDrivingLicenseUnder21 = 74,
  diDocTypeDtEnhancedIdentityCard = 75,
  diDocTypeDtEnhancedIdentityCardUnder18 = 76,
  diDocTypeDtEnhancedIdentityCardUnder21 = 77,
  diDocTypeDtEnhancedOperatorsLicense = 78,
  diDocTypeDtFirearmsPermit = 79,
  diDocTypeDtFullProvisionalLicense = 80,
  diDocTypeDtFullProvisionalLicenseUnder18 = 81,
  diDocTypeDtFullProvisionalLicenseUnder21 = 82,
  diDocTypeDtGenevaConventionsIdentityCard = 83,
  diDocTypeDtGraduatedDrivingLicenseUnder18 = 84,
  diDocTypeDtGraduatedDrivingLicenseUnder21 = 85,
  diDocTypeDtGraduatedIndtuctionPermitUnder18 = 86,
  diDocTypeDtGraduatedIndtuctionPermitUnder21 = 87,
  diDocTypeDtGraduatedLicenseUnder18 = 88,
  diDocTypeDtGraduatedLicenseUnder21 = 89,
  diDocTypeDtHandgunCarryPermit = 90,
  diDocTypeDtIdentityAndPrivilegeCard = 91,
  diDocTypeDtIdentityCardMobilityImpaired = 92,
  diDocTypeDtIdentityCardRegisteredOffender = 93,
  diDocTypeDtIdentityCardTemporaryVisitor = 94,
  diDocTypeDtIdentityCardTemporaryVisitorUnder18 = 95,
  diDocTypeDtIdentityCardTemporaryVisitorUnder21 = 96,
  diDocTypeDtIdentityCardUnder18 = 97,
  diDocTypeDtIdentityCardUnder21 = 98,
  diDocTypeDtIgnitionInterlockPermit = 100,
  diDocTypeDtImmigrantVisa = 101,
  diDocTypeDtIndtuctionPermit = 102,
  diDocTypeDtIndtuctionPermitUnder18 = 103,
  diDocTypeDtIndtuctionPermitUnder21 = 104,
  diDocTypeDtInterimDrivingLicense = 105,
  diDocTypeDtInterimIdentityCard = 106,
  diDocTypeDtIntermediateDrivingLicense = 107,
  diDocTypeDtIntermediateDrivingLicenseUnder18 = 108,
  diDocTypeDtIntermediateDrivingLicenseUnder21 = 109,
  diDocTypeDtJuniorDrivingLicense = 110,
  diDocTypeDtLearnerIndtuctionalPermit = 111,
  diDocTypeDtLearnerLicense = 112,
  diDocTypeDtLearnerLicenseUnder18 = 113,
  diDocTypeDtLearnerLicenseUnder21 = 114,
  diDocTypeDtLearnerPermit = 115,
  diDocTypeDtLearnerPermitUnder18 = 116,
  diDocTypeDtLearnerPermitUnder21 = 117,
  diDocTypeDtLimitedLicense = 118,
  diDocTypeDtLimitedPermit = 119,
  diDocTypeDtLimitedTermDrivingLicense = 120,
  diDocTypeDtLimitedTermIdentityCard = 121,
  diDocTypeDtLiquorIdentityCard = 122,
  diDocTypeDtNewPermit = 123,
  diDocTypeDtNewPermitUnder18 = 124,
  diDocTypeDtNewPermitUnder21 = 125,
  diDocTypeDtNonUsCitizenDrivingLicense = 126,
  diDocTypeDtOccupationalDrivingLicense = 127,
  diDocTypeDtOneidaTribeOfIndiansIdentityCard = 128,
  diDocTypeDtOperatorLicense = 129,
  diDocTypeDtOperatorLicenseUnder18 = 130,
  diDocTypeDtOperatorLicenseUnder21 = 131,
  diDocTypeDtPermanentDrivingLicense = 132,
  diDocTypeDtPermitToReEnter = 133,
  diDocTypeDtProbationaryAutoLicense = 134,
  diDocTypeDtProbationaryDrivingLicenseUnder18 = 135,
  diDocTypeDtProbationaryDrivingLicenseUnder21 = 136,
  diDocTypeDtProbationaryVehicleSalespersonLicense = 137,
  diDocTypeDtProvisionalDrivingLicense = 138,
  diDocTypeDtProvisionalDrivingLicenseUnder18 = 139,
  diDocTypeDtProvisionalDrivingLicenseUnder21 = 140,
  diDocTypeDtProvisionalLicense = 141,
  diDocTypeDtProvisionalLicenseUnder18 = 142,
  diDocTypeDtProvisionalLicenseUnder21 = 143,
  diDocTypeDtPublicPassengerChauffeurLicense = 144,
  diDocTypeDtRacingAndGamingComissionCard = 145,
  diDocTypeDtRefugeeTravelDocument = 146,
  diDocTypeDtRenewalPermit = 147,
  diDocTypeDtRedtictedCommercialDrivingLicense = 148,
  diDocTypeDtRedtictedDrivingLicense = 149,
  diDocTypeDtRedtictedPermit = 150,
  diDocTypeDtSeasonalPermit = 151,
  diDocTypeDtSeasonalResidentIdentityCard = 152,
  diDocTypeDtSeniorCitizenIdentityCard = 153,
  diDocTypeDtSexOffender = 154,
  diDocTypeDtSocialSecurityCard = 155,
  diDocTypeDtTemporaryDrivingLicense = 156,
  diDocTypeDtTemporaryDrivingLicenseUnder18 = 157,
  diDocTypeDtTemporaryDrivingLicenseUnder21 = 158,
  diDocTypeDtTemporaryIdentityCard = 159,
  diDocTypeDtTemporaryIndtuctionPermitIdentityCard = 160,
  diDocTypeDtTemporaryIndtuctionPermitIdentityCardUnder18 = 161,
  diDocTypeDtTemporaryIndtuctionPermitIdentityCardUnder21 = 162,
  diDocTypeDtTemporaryVisitorDrivingLicense = 163,
  diDocTypeDtTemporaryVisitorDrivingLicenseUnder18 = 164,
  diDocTypeDtTemporaryVisitorDrivingLicenseUnder21 = 165,
  diDocTypeDtUniformedServicesIdentityCard = 166,
  diDocTypeDtVehicleSalespersonLicense = 167,
  diDocTypeDtWorkerIdentificationCredential = 168,
  diDocTypeDtCommercialDrivingLicenseNovice = 169,
  diDocTypeDtCommercialDrivingLicenseNoviceUnder18 = 170,
  diDocTypeDtCommercialDrivingLicenseNoviceUnder21 = 171,
  diDocTypeDtPassportCard = 172,
  diDocTypeDtPermanentResidentCard = 173,
  diDocTypeDtPersonalIdentificationVerification = 174,
  diDocTypeDtTemporaryOperatorLicense = 175,
  diDocTypeDtDrivingLicenseUnder19 = 176,
  diDocTypeDtIdentityCardUnder19 = 177,
  diDocTypeDtVisa = 178,
  diDocTypeDtTemporaryPassport = 179,
  diDocTypeDtVotingCard = 180,
  diDocTypeDtHealthCard = 181,
  diDocTypeDtCertificateOfCitizenship = 182,
  diDocTypeDtAddressCard = 183,
  diDocTypeDtAirportImmigrationCard = 184,
  diDocTypeDtAlienRegidtationCard = 185,
  diDocTypeDtAPEHCard = 186,
  diDocTypeDtCoupontoDrivingLicense = 187,
  diDocTypeDtCrewMemberCertificate = 188,
  diDocTypeDtDocumentForReturn = 189,
  diDocTypeDtECard = 190,
  diDocTypeDtEmploymentCard = 191,
  diDocTypeDtHKSARImmigrationForm = 192,
  diDocTypeDtImmigrantcard = 193,
  diDocTypeDtLabourCard = 194,
  diDocTypeDtLaissezPasser = 195,
  diDocTypeDtLawyerIdentityCertificate = 196,
  diDocTypeDtLicenseCard = 197,
  diDocTypeDtPassportStateless = 198,
  diDocTypeDtPassportChild = 199,
  diDocTypeDtPassportConsular = 200,
  diDocTypeDtPassportDiplomaticService = 201,
  diDocTypeDtPassportOfficial = 202,
  diDocTypeDtPassportProvisional = 203,
  diDocTypeDtPassportSpecial = 204,
  diDocTypeDtPermissiontotheLocalBorderTraffic = 205,
  diDocTypeDtSEDESOLCard = 207,
  diDocTypeDtSocialCard = 208,
  diDocTypeDtTBCard = 209,
  diDocTypeDtVehiclePassport = 210,
  diDocTypeDtWDocument = 211,
  diDocTypeDtDiplomaticIdentityCard = 212,
  diDocTypeDtConsularIdentityCard = 213,
  diDocTypeDtIncomeTaxCard = 214,
  diDocTypeDtResidencePermit = 215,
  diDocTypeDtDocumentOfIdentity = 216,
  diDocTypeDtBorderCrossingPermit = 217,
  diDocTypeDtPassportLimitedValidity = 218,
  diDocTypeDtSIMCard = 219,
  diDocTypeDtTaxCard = 220,
  diDocTypeDtCompanyCard = 221,
  diDocTypeDtDomesticPassport = 222,
  diDocTypeDtIdentityCertificate = 223,
  diDocTypeDtResidentIdCard = 224,
  diDocTypeDtArmedForcesIdentityCard = 225,
};

#if __has_attribute(external_source_symbol)
# pragma clang attribute pop
#endif
#pragma clang diagnostic pop

#elif defined(__ARM_ARCH_7A__) && __ARM_ARCH_7A__ || defined(__i386__) && __i386__
// Generated by Apple Swift version 5.0 effective-4.2 (swiftlang-1001.0.69.5 clang-1001.0.46.3)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wgcc-compat"

#if !defined(__has_include)
# define __has_include(x) 0
#endif
#if !defined(__has_attribute)
# define __has_attribute(x) 0
#endif
#if !defined(__has_feature)
# define __has_feature(x) 0
#endif
#if !defined(__has_warning)
# define __has_warning(x) 0
#endif

#if __has_include(<swift/objc-prologue.h>)
# include <swift/objc-prologue.h>
#endif

#pragma clang diagnostic ignored "-Wauto-import"
#include <Foundation/Foundation.h>
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>

#if !defined(SWIFT_TYPEDEFS)
# define SWIFT_TYPEDEFS 1
# if __has_include(<uchar.h>)
#  include <uchar.h>
# elif !defined(__cplusplus)
typedef uint_least16_t char16_t;
typedef uint_least32_t char32_t;
# endif
typedef float swift_float2  __attribute__((__ext_vector_type__(2)));
typedef float swift_float3  __attribute__((__ext_vector_type__(3)));
typedef float swift_float4  __attribute__((__ext_vector_type__(4)));
typedef double swift_double2  __attribute__((__ext_vector_type__(2)));
typedef double swift_double3  __attribute__((__ext_vector_type__(3)));
typedef double swift_double4  __attribute__((__ext_vector_type__(4)));
typedef int swift_int2  __attribute__((__ext_vector_type__(2)));
typedef int swift_int3  __attribute__((__ext_vector_type__(3)));
typedef int swift_int4  __attribute__((__ext_vector_type__(4)));
typedef unsigned int swift_uint2  __attribute__((__ext_vector_type__(2)));
typedef unsigned int swift_uint3  __attribute__((__ext_vector_type__(3)));
typedef unsigned int swift_uint4  __attribute__((__ext_vector_type__(4)));
#endif

#if !defined(SWIFT_PASTE)
# define SWIFT_PASTE_HELPER(x, y) x##y
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
#endif
#if !defined(SWIFT_METATYPE)
# define SWIFT_METATYPE(X) Class
#endif
#if !defined(SWIFT_CLASS_PROPERTY)
# if __has_feature(objc_class_property)
#  define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
# else
#  define SWIFT_CLASS_PROPERTY(...)
# endif
#endif

#if __has_attribute(objc_runtime_name)
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
#else
# define SWIFT_RUNTIME_NAME(X)
#endif
#if __has_attribute(swift_name)
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
#else
# define SWIFT_COMPILE_NAME(X)
#endif
#if __has_attribute(objc_method_family)
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
#else
# define SWIFT_METHOD_FAMILY(X)
#endif
#if __has_attribute(noescape)
# define SWIFT_NOESCAPE __attribute__((noescape))
#else
# define SWIFT_NOESCAPE
#endif
#if __has_attribute(warn_unused_result)
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
#else
# define SWIFT_WARN_UNUSED_RESULT
#endif
#if __has_attribute(noreturn)
# define SWIFT_NORETURN __attribute__((noreturn))
#else
# define SWIFT_NORETURN
#endif
#if !defined(SWIFT_CLASS_EXTRA)
# define SWIFT_CLASS_EXTRA
#endif
#if !defined(SWIFT_PROTOCOL_EXTRA)
# define SWIFT_PROTOCOL_EXTRA
#endif
#if !defined(SWIFT_ENUM_EXTRA)
# define SWIFT_ENUM_EXTRA
#endif
#if !defined(SWIFT_CLASS)
# if __has_attribute(objc_subclassing_restricted)
#  define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
#  define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
# else
#  define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
#  define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
# endif
#endif

#if !defined(SWIFT_PROTOCOL)
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
#endif

#if !defined(SWIFT_EXTENSION)
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
#endif

#if !defined(OBJC_DESIGNATED_INITIALIZER)
# if __has_attribute(objc_designated_initializer)
#  define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
# else
#  define OBJC_DESIGNATED_INITIALIZER
# endif
#endif
#if !defined(SWIFT_ENUM_ATTR)
# if defined(__has_attribute) && __has_attribute(enum_extensibility)
#  define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
# else
#  define SWIFT_ENUM_ATTR(_extensibility)
# endif
#endif
#if !defined(SWIFT_ENUM)
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
# if __has_feature(generalized_swift_name)
#  define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
# else
#  define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
# endif
#endif
#if !defined(SWIFT_UNAVAILABLE)
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
#endif
#if !defined(SWIFT_UNAVAILABLE_MSG)
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
#endif
#if !defined(SWIFT_AVAILABILITY)
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
#endif
#if !defined(SWIFT_DEPRECATED)
# define SWIFT_DEPRECATED __attribute__((deprecated))
#endif
#if !defined(SWIFT_DEPRECATED_MSG)
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
#endif
#if __has_feature(attribute_diagnose_if_objc)
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
#else
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
#endif
#if __has_feature(modules)
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
#endif
@import AVFoundation;
@import CoreGraphics;
@import CoreImage;
@import CoreMedia;
@import Foundation;
@import ObjectiveC;
@import QuartzCore;
@import UIKit;
#endif

#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
#if __has_warning("-Wpragma-clang-attribute")
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
#endif
#pragma clang diagnostic ignored "-Wunknown-pragmas"
#pragma clang diagnostic ignored "-Wnullability"

#if __has_attribute(external_source_symbol)
# pragma push_macro("any")
# undef any
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="DocumentReader",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
# pragma pop_macro("any")
#endif

@class NSCoder;

SWIFT_CLASS_NAMED("ActivityIndicator")
@interface ActivityIndicator : UIActivityIndicatorView
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
- (void)awakeFromNib;
- (nonnull instancetype)initWithActivityIndicatorStyle:(UIActivityIndicatorViewStyle)style SWIFT_UNAVAILABLE;
@end

typedef SWIFT_ENUM(NSInteger, Authenticity, closed) {
  AuthenticityNone = 0,
  AuthenticityUv_luminescence = 1,
  AuthenticityImage_pattern = 4,
  AuthenticityIpi = 128,
};


SWIFT_CLASS("_TtC14DocumentReader14AutoFocusLayer")
@interface AutoFocusLayer : CAShapeLayer
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
- (nonnull instancetype)initWithLayer:(id _Nonnull)layer SWIFT_UNAVAILABLE;
@end


SWIFT_CLASS_NAMED("Position")
@interface Position : NSObject
@property (nonatomic, readonly) CGSize size;
@property (nonatomic, readonly) CGPoint center;
@property (nonatomic, readonly) double angle;
@property (nonatomic, readonly, copy) NSArray<NSValue *> * _Nonnull bounds;
@property (nonatomic, readonly) double perspectiveTr;
@property (nonatomic, readonly) double objArea;
@property (nonatomic, readonly) double objIntAngleDev;
@property (nonatomic, readonly) BOOL resultStatusConfirmed;
@property (nonatomic, readonly) NSInteger docFormat;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end


SWIFT_CLASS_NAMED("BarcodePosition")
@interface BarcodePosition : Position
@end

typedef SWIFT_ENUM(NSInteger, BarcodeType, closed) {
  BarcodeTypePDF417 = 0,
  BarcodeTypeBarcode_1D = 1,
  BarcodeTypeQR = 2,
  BarcodeTypeAztec = 3,
  BarcodeTypeDatamatrix = 4,
};


SWIFT_CLASS("_TtC14DocumentReader10BleWrapper")
@interface BleWrapper : NSObject
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end


@interface BleWrapper (SWIFT_EXTENSION(DocumentReader))
- (void)deviceSearching;
- (void)deviceStopSearching;
- (void)deviceConnecting;
- (void)deviceConnected;
- (void)deviceDisconnected;
- (void)batteryLevelWithLevel:(NSInteger)level;
- (void)bleErrorWithError:(NSString * _Nonnull)error;
- (void)torchStartFlashing;
- (void)torchFinishFlashing;
@end




SWIFT_CLASS("_TtC14DocumentReader29CamManualPhotoCaptureDelegate") SWIFT_AVAILABILITY(ios,introduced=10.0)
@interface CamManualPhotoCaptureDelegate : NSObject
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end

@class AVCapturePhotoOutput;
@class AVCaptureResolvedPhotoSettings;
@class AVCaptureBracketedStillImageSettings;

SWIFT_AVAILABILITY(ios,introduced=10.0)
@interface CamManualPhotoCaptureDelegate (SWIFT_EXTENSION(DocumentReader)) <AVCapturePhotoCaptureDelegate>
- (void)captureOutput:(AVCapturePhotoOutput * _Nonnull)captureOutput willCapturePhotoForResolvedSettings:(AVCaptureResolvedPhotoSettings * _Nonnull)resolvedSettings;
- (void)captureOutput:(AVCapturePhotoOutput * _Nonnull)captureOutput didFinishProcessingPhotoSampleBuffer:(CMSampleBufferRef _Nullable)photoSampleBuffer previewPhotoSampleBuffer:(CMSampleBufferRef _Nullable)previewPhotoSampleBuffer resolvedSettings:(AVCaptureResolvedPhotoSettings * _Nonnull)resolvedSettings bracketSettings:(AVCaptureBracketedStillImageSettings * _Nullable)bracketSettings error:(NSError * _Nullable)error;
- (void)captureOutput:(AVCapturePhotoOutput * _Nonnull)captureOutput didFinishCaptureForResolvedSettings:(AVCaptureResolvedPhotoSettings * _Nonnull)resolvedSettings error:(NSError * _Nullable)error;
@end

typedef SWIFT_ENUM(NSInteger, CameraFrameShapeType, closed) {
  CameraFrameShapeTypeLine = 0,
  CameraFrameShapeTypeCorners = 1,
};

typedef SWIFT_ENUM(NSInteger, CheckResult, closed) {
  CheckResultError = 0,
  CheckResultOk = 1,
  CheckResultWasNotDone = 2,
};


SWIFT_CLASS("_TtC14DocumentReader10CornerView")
@interface CornerView : UIView
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
- (void)drawRect:(CGRect)rect;
@end

@class UIImage;
@class UIColor;
@class UIFont;

SWIFT_CLASS_NAMED("Customization")
@interface Customization : NSObject
@property (nonatomic) BOOL showHelpAnimation;
@property (nonatomic, strong) UIImage * _Nullable helpAnimationImage;
@property (nonatomic) BOOL showStatusMessages;
@property (nonatomic) BOOL showResultStatusMessages;
@property (nonatomic, copy) NSString * _Nullable status;
@property (nonatomic) CGFloat statusPositionMultiplier;
@property (nonatomic) CGFloat resultStatusPositionMultiplier;
@property (nonatomic) enum CameraFrameShapeType cameraFrameShapeType;
@property (nonatomic, strong) UIColor * _Nonnull tintColor;
@property (nonatomic, strong) UIColor * _Nonnull resultStatusTextColor;
@property (nonatomic, strong) UIFont * _Nullable resultStatusTextFont;
@property (nonatomic, strong) UIColor * _Nullable resultStatusBackgroundColor;
@property (nonatomic, strong) UIColor * _Nonnull cameraFrameDefaultColor;
@property (nonatomic, strong) UIColor * _Nonnull cameraFrameActiveColor;
@property (nonatomic) CGFloat cameraFrameBorderWidth;
@property (nonatomic, strong) UIColor * _Nonnull statusTextColor;
@property (nonatomic, strong) UIFont * _Nullable statusTextFont;
@property (nonatomic, strong) UIColor * _Nullable activityIndicatorColor;
@property (nonatomic, strong) UIColor * _Nullable multipageButtonBackgroundColor;
@property (nonatomic, strong) UIImage * _Nullable multipageAnimationFrontImage;
@property (nonatomic, strong) UIImage * _Nullable multipageAnimationBackImage;
@property (nonatomic) CGFloat cameraFrameLineLength;
@property (nonatomic) BOOL showNextPageAnimation;
@property (nonatomic) BOOL showBackgroundMask;
@property (nonatomic, strong) UIImage * _Nullable borderBackgroundImage;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end



@class ProcessParams;
@class Functionality;
@class DocReaderVersion;
@protocol DocumentReaderDelegate;
@class Scenario;
@class NSProgress;
enum DocReaderAction : NSInteger;
@class DocumentReaderResults;
@class UIViewController;
@class DocumentReaderCameraViewController;

SWIFT_CLASS_NAMED("DocReader")
@interface DocReader : NSObject
- (nonnull instancetype)initWithProcessParams:(ProcessParams * _Nullable)processParams OBJC_DESIGNATED_INITIALIZER;
@property (nonatomic, readonly, strong) Customization * _Nonnull customization;
@property (nonatomic, readonly, strong) Functionality * _Nonnull functionality;
@property (nonatomic, strong) DocReaderVersion * _Nullable version;
@property (nonatomic, strong) ProcessParams * _Nonnull processParams;
@property (nonatomic, weak) id <DocumentReaderDelegate> _Nullable delegate;
@property (nonatomic) BOOL cameraSessionIsPaused;
- (void)stopScanner;
@property (nonatomic, readonly, copy) NSString * _Nonnull documentReaderStatus;
@property (nonatomic, readonly) BOOL documentReaderIsReady;
@property (nonatomic, readonly, copy) NSArray<Scenario *> * _Nonnull availableScenarios;
- (void)prepareDatabaseWithDatabaseID:(NSString * _Nonnull)databaseID progressHandler:(void (^ _Nullable)(NSProgress * _Nonnull))progressHandler completion:(void (^ _Nonnull)(BOOL, NSString * _Nullable))completion;
- (void)runAutoUpdateWithDatabaseID:(NSString * _Nonnull)databaseID progressHandler:(void (^ _Nullable)(NSProgress * _Nonnull))progressHandler completion:(void (^ _Nonnull)(BOOL, NSString * _Nullable))completion;
- (void)invalidateAllDownloadSessions;
- (void)initilizeReaderWithLicense:(NSData * _Nonnull)license completion:(void (^ _Nonnull)(BOOL, NSString * _Nullable))completion;
- (void)initilizeReaderWithLicense:(NSData * _Nonnull)license databasePath:(NSString * _Nonnull)databasePath completion:(void (^ _Nonnull)(BOOL, NSString * _Nullable))completion;
- (void)recognizeImage:(UIImage * _Nonnull)image cameraMode:(BOOL)cameraMode completion:(void (^ _Nullable)(enum DocReaderAction, DocumentReaderResults * _Nullable, NSString * _Nullable))completion;
- (void)showScanner:(UIViewController * _Nonnull)presenter completion:(void (^ _Nullable)(enum DocReaderAction, DocumentReaderResults * _Nullable, NSString * _Nullable))completion;
- (UIViewController * _Nullable)prepareCameraViewControllerWithCameraViewController:(DocumentReaderCameraViewController * _Nullable)cameraViewController cameraHandler:(void (^ _Nullable)(enum DocReaderAction, DocumentReaderResults * _Nullable, NSString * _Nullable))cameraHandler SWIFT_WARN_UNUSED_RESULT;
- (void)startNewSession;
- (void)startNewPage;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end







typedef SWIFT_ENUM(NSInteger, DocReaderAction, closed) {
  DocReaderActionComplete = 0,
  DocReaderActionProcess = 1,
  DocReaderActionMorePagesAvailable = 2,
  DocReaderActionCancel = 3,
  DocReaderActionError = 4,
};


SWIFT_CLASS_NAMED("DocReaderDocumentsDatabase")
@interface DocReaderDocumentsDatabase : NSObject
@property (nonatomic, copy) NSString * _Nonnull databaseID;
@property (nonatomic, copy) NSString * _Nonnull version;
@property (nonatomic, readonly, copy) NSString * _Nonnull date;
@property (nonatomic, readonly, copy) NSString * _Nonnull databaseDescription;
@property (nonatomic, readonly) NSInteger countriesNumber;
@property (nonatomic, readonly) NSInteger documentsNumber;
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end

typedef SWIFT_ENUM(NSInteger, DocReaderFrame, closed) {
  DocReaderFrameScenarioDefault = 0,
  DocReaderFrameMax = 1,
  DocReaderFrameNone = 2,
};

typedef SWIFT_ENUM(NSInteger, DocReaderOrientation, closed) {
  DocReaderOrientationRotate = 0,
  DocReaderOrientationPortrait = 1,
  DocReaderOrientationLandscape = 2,
};


SWIFT_CLASS_NAMED("DocReaderVersion")
@interface DocReaderVersion : NSObject
@property (nonatomic, copy) NSString * _Nonnull api;
@property (nonatomic, readonly, copy) NSString * _Nonnull core;
@property (nonatomic, readonly, copy) NSString * _Nonnull coreMode;
@property (nonatomic, readonly, strong) DocReaderDocumentsDatabase * _Nonnull database;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end


SWIFT_CLASS_NAMED("DocumentPosition")
@interface DocumentPosition : Position
@end


SWIFT_CLASS("_TtC14DocumentReader35DocumentReaderAuthenticityCheckList")
@interface DocumentReaderAuthenticityCheckList : NSObject
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end

@protocol UIViewControllerTransitionCoordinator;
@class UIButton;
@class UITapGestureRecognizer;
@class NSBundle;

SWIFT_CLASS("_TtC14DocumentReader34DocumentReaderCameraViewController")
@interface DocumentReaderCameraViewController : UIViewController
@property (nonatomic, readonly) BOOL prefersStatusBarHidden;
@property (nonatomic, readonly) UIInterfaceOrientationMask supportedInterfaceOrientations;
- (void)viewDidLoad;
- (void)viewWillAppear:(BOOL)animated;
- (void)viewDidAppear:(BOOL)animated;
- (void)viewWillDisappear:(BOOL)animated;
- (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id <UIViewControllerTransitionCoordinator> _Nonnull)coordinator;
- (void)updateViewConstraints;
- (void)captureButtonTapped:(UIButton * _Nonnull)sender;
- (void)changeFrameTapped:(UIButton * _Nonnull)sender;
- (void)skipMultipageTapped:(UIButton * _Nonnull)sender;
- (void)tappedOnView:(UITapGestureRecognizer * _Nonnull)recognizer;
- (void)closeTapped:(UIButton * _Nonnull)button;
- (void)flashTapped:(UIButton * _Nonnull)button;
- (void)swapTapped:(UIButton * _Nonnull)button;
- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
@end



@class AVCaptureMetadataOutput;
@class AVMetadataObject;
@class AVCaptureConnection;

@interface DocumentReaderCameraViewController (SWIFT_EXTENSION(DocumentReader)) <AVCaptureMetadataOutputObjectsDelegate>
- (void)captureOutput:(AVCaptureMetadataOutput * _Nonnull)output didOutputMetadataObjects:(NSArray<AVMetadataObject *> * _Nonnull)metadataObjects fromConnection:(AVCaptureConnection * _Nonnull)connection;
@end





@class NSNotification;

@interface DocumentReaderCameraViewController (SWIFT_EXTENSION(DocumentReader))
- (void)sessionRuntimeErrorWithNotification:(NSNotification * _Nonnull)notification;
- (void)sessionWasInterruptedWithNotification:(NSNotification * _Nonnull)notification;
- (void)sessionInterruptionEndedWithNotification:(NSNotification * _Nonnull)notification;
- (void)subjectAreaDidChange:(NSNotification * _Nonnull)notification;
@end


@interface DocumentReaderCameraViewController (SWIFT_EXTENSION(DocumentReader))
- (void)processParamChanged;
@end


@interface DocumentReaderCameraViewController (SWIFT_EXTENSION(DocumentReader))
- (void)removeFocusLayer;
- (void)sessionPresentReady;
@end







@class AVCaptureOutput;

@interface DocumentReaderCameraViewController (SWIFT_EXTENSION(DocumentReader)) <AVCaptureVideoDataOutputSampleBufferDelegate>
- (void)captureOutput:(AVCaptureOutput * _Nonnull)captureOutput didOutputSampleBuffer:(CMSampleBufferRef _Nonnull)sampleBuffer fromConnection:(AVCaptureConnection * _Nonnull)connection;
- (void)resetBorderToDefault;
@end


SWIFT_PROTOCOL("_TtP14DocumentReader22DocumentReaderDelegate_")
@protocol DocumentReaderDelegate
@optional
- (void)documentReader:(DocReader * _Nonnull)documentReader didCompleteCameraScanning:(DocumentReaderResults * _Nullable)result;
- (void)documentReader:(DocReader * _Nonnull)documentReader didGetIntermediate:(DocumentReaderResults * _Nullable)result;
- (void)documentReader:(DocReader * _Nonnull)documentReader didGetMorePagesStatus:(DocumentReaderResults * _Nullable)result;
- (void)documentReader:(DocReader * _Nonnull)documentReader didCancelScaning:(DocumentReaderResults * _Nullable)result;
- (void)documentReader:(DocReader * _Nonnull)documentReader didNotInitialized:(NSString * _Nullable)error;
@end

enum diDocType : NSInteger;

SWIFT_CLASS_NAMED("DocumentReaderDocumentType")
@interface DocumentReaderDocumentType : NSObject
@property (nonatomic, readonly, copy) NSString * _Nullable name;
@property (nonatomic, readonly) NSInteger documentID;
@property (nonatomic, readonly, copy) NSString * _Nullable ICAOCode;
@property (nonatomic, readonly, copy) NSArray<NSNumber *> * _Nonnull FDSID;
@property (nonatomic, readonly) enum diDocType dType;
@property (nonatomic, readonly) NSInteger dFormat;
@property (nonatomic, readonly) BOOL dMRZ;
@property (nonatomic, readonly, copy) NSString * _Nullable dDescription;
@property (nonatomic, readonly, copy) NSString * _Nullable dYear;
@property (nonatomic, readonly, copy) NSString * _Nullable dCountryName;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end

enum ResultType : NSInteger;
enum GraphicFieldType : NSInteger;
enum GraphicFieldLight : NSInteger;

SWIFT_CLASS_NAMED("DocumentReaderGraphicField")
@interface DocumentReaderGraphicField : NSObject
@property (nonatomic, readonly) enum ResultType sourceType;
@property (nonatomic, readonly) enum GraphicFieldType fieldType;
@property (nonatomic, readonly, copy) NSString * _Nonnull fieldName;
@property (nonatomic, readonly) CGRect boundRect;
@property (nonatomic, readonly, strong) UIImage * _Nonnull value;
@property (nonatomic, readonly) enum GraphicFieldLight lightType;
@property (nonatomic, readonly, copy) NSString * _Nonnull lightName;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end


SWIFT_CLASS_NAMED("DocumentReaderGraphicResult")
@interface DocumentReaderGraphicResult : NSObject
@property (nonatomic, readonly, copy) NSArray<DocumentReaderGraphicField *> * _Nonnull fields;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end

@class DocumentReaderJsonResultGroup;

SWIFT_CLASS_NAMED("DocumentReaderJsonResult")
@interface DocumentReaderJsonResult : NSObject
@property (nonatomic, readonly, copy) NSArray<DocumentReaderJsonResultGroup *> * _Nonnull results;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end


SWIFT_CLASS_NAMED("DocumentReaderJsonResultGroup")
@interface DocumentReaderJsonResultGroup : NSObject
@property (nonatomic, readonly) enum ResultType resultType;
@property (nonatomic, readonly) NSInteger lightType;
@property (nonatomic, readonly) NSInteger pageIdx;
@property (nonatomic, readonly, copy) NSString * _Nonnull jsonResult;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end

@class DocumentReaderTextResult;
@class ImageQualityGroup;
enum ResolutionType : NSInteger;
enum FieldType : NSInteger;
enum LCID : NSInteger;
@class DocumentReaderTextField;

SWIFT_CLASS_NAMED("DocumentReaderResults")
@interface DocumentReaderResults : NSObject
@property (nonatomic, readonly, strong) DocumentReaderDocumentType * _Nullable documentType;
@property (nonatomic, readonly, strong) DocumentReaderTextResult * _Nonnull textResult;
@property (nonatomic, readonly, strong) DocumentReaderGraphicResult * _Nonnull graphicResult;
@property (nonatomic, readonly, strong) DocumentReaderJsonResult * _Nonnull jsonResult;
@property (nonatomic, readonly, strong) DocumentPosition * _Nullable documentPosition;
@property (nonatomic, readonly, strong) BarcodePosition * _Nullable barcodePosition;
@property (nonatomic, readonly, strong) ImageQualityGroup * _Nullable imageQualityGroup;
@property (nonatomic, readonly) enum CheckResult overallResult;
@property (nonatomic, readonly, strong) DocumentReaderAuthenticityCheckList * _Nullable authenticityCheckList;
@property (nonatomic) enum ResolutionType resolutionType;
- (NSString * _Nullable)getTextFieldValueByTypeWithFieldType:(enum FieldType)fieldType lcid:(enum LCID)lcid source:(enum ResultType)source original:(BOOL)original SWIFT_WARN_UNUSED_RESULT;
- (NSString * _Nullable)getTextFieldValueByTypeWithFieldType:(enum FieldType)fieldType lcid:(enum LCID)lcid source:(enum ResultType)source SWIFT_WARN_UNUSED_RESULT;
- (NSString * _Nullable)getTextFieldValueByTypeWithFieldType:(enum FieldType)fieldType lcid:(enum LCID)lcid SWIFT_WARN_UNUSED_RESULT;
- (NSString * _Nullable)getTextFieldValueByTypeWithFieldType:(enum FieldType)fieldType SWIFT_WARN_UNUSED_RESULT;
- (DocumentReaderTextField * _Nullable)getTextFieldByTypeWithFieldType:(enum FieldType)fieldType lcid:(enum LCID)lcid SWIFT_WARN_UNUSED_RESULT;
- (DocumentReaderTextField * _Nullable)getTextFieldByTypeWithFieldType:(enum FieldType)fieldType SWIFT_WARN_UNUSED_RESULT;
- (DocumentReaderGraphicField * _Nullable)getGraphicFieldByTypeWithFieldType:(enum GraphicFieldType)fieldType SWIFT_WARN_UNUSED_RESULT;
- (DocumentReaderGraphicField * _Nullable)getGraphicFieldByTypeWithFieldType:(enum GraphicFieldType)fieldType source:(enum ResultType)source SWIFT_WARN_UNUSED_RESULT;
- (DocumentReaderGraphicField * _Nullable)getGraphicFieldByTypeWithFieldType:(enum GraphicFieldType)fieldType source:(enum ResultType)source light:(enum GraphicFieldLight)light SWIFT_WARN_UNUSED_RESULT;
- (UIImage * _Nullable)getGraphicFieldImageByTypeWithFieldType:(enum GraphicFieldType)fieldType source:(enum ResultType)source light:(enum GraphicFieldLight)light SWIFT_WARN_UNUSED_RESULT;
- (UIImage * _Nullable)getGraphicFieldImageByTypeWithFieldType:(enum GraphicFieldType)fieldType source:(enum ResultType)source SWIFT_WARN_UNUSED_RESULT;
- (UIImage * _Nullable)getGraphicFieldImageByTypeWithFieldType:(enum GraphicFieldType)fieldType SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end

@class DocumentReaderValue;

SWIFT_CLASS_NAMED("DocumentReaderTextField")
@interface DocumentReaderTextField : NSObject
@property (nonatomic, readonly) enum FieldType fieldType;
@property (nonatomic, readonly, copy) NSString * _Nonnull fieldName;
@property (nonatomic, readonly) enum LCID lcid;
@property (nonatomic, readonly, copy) NSString * _Nonnull lcidName;
@property (nonatomic, readonly, copy) NSArray<DocumentReaderValue *> * _Nonnull values;
@property (nonatomic, readonly) enum CheckResult status;
/// / when all valididy and comparison are disable - for ch_Check_WasNotDone
/// page 108 eCheckResult
@property (nonatomic, readonly, strong) DocumentReaderValue * _Nullable value;
- (nonnull instancetype)initWithFieldType:(enum FieldType)fieldType OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)initWithFieldType:(enum FieldType)fieldType lcid:(enum LCID)lcid OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end


SWIFT_CLASS_NAMED("DocumentReaderTextResult")
@interface DocumentReaderTextResult : NSObject
@property (nonatomic, readonly, copy) NSArray<DocumentReaderTextField *> * _Nonnull fields;
@property (nonatomic, readonly) enum CheckResult status;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end

enum FieldVerificationResult : NSInteger;

SWIFT_CLASS_NAMED("DocumentReaderValue")
@interface DocumentReaderValue : NSObject
@property (nonatomic, readonly) enum ResultType sourceType;
@property (nonatomic, readonly, copy) NSString * _Nonnull value;
@property (nonatomic, readonly, copy) NSString * _Nonnull originalValue;
@property (nonatomic, readonly) CGRect boundRect;
@property (nonatomic, readonly) enum FieldVerificationResult validity;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end


SWIFT_CLASS("_TtC14DocumentReader12DocumentView")
@interface DocumentView : UIImageView
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)initWithImage:(UIImage * _Nullable)image SWIFT_UNAVAILABLE;
- (nonnull instancetype)initWithImage:(UIImage * _Nullable)image highlightedImage:(UIImage * _Nullable)highlightedImage SWIFT_UNAVAILABLE;
@end

typedef SWIFT_ENUM(NSInteger, EImageQualityCheckType, closed) {
  EImageQualityCheckTypeIqc_ImageGlares = 0,
  EImageQualityCheckTypeIqc_ImageFocus = 1,
  EImageQualityCheckTypeIqc_ImageResolution = 2,
};

typedef SWIFT_ENUM(NSInteger, FieldType, closed) {
  FieldTypeFt_Document_Class_Code = 0,
  FieldTypeFt_Issuing_State_Code = 1,
  FieldTypeFt_Document_Number = 2,
  FieldTypeFt_Date_of_Expiry = 3,
  FieldTypeFt_Date_of_Issue = 4,
  FieldTypeFt_Date_of_Birth = 5,
  FieldTypeFt_Place_of_Birth = 6,
  FieldTypeFt_Personal_Number = 7,
  FieldTypeFt_Surname = 8,
  FieldTypeFt_Given_Names = 9,
  FieldTypeFt_Mothers_Name = 10,
  FieldTypeFt_Nationality = 11,
  FieldTypeFt_Sex = 12,
  FieldTypeFt_Height = 13,
  FieldTypeFt_Weight = 14,
  FieldTypeFt_Eyes_Color = 15,
  FieldTypeFt_Hair_Color = 16,
  FieldTypeFt_Address = 17,
  FieldTypeFt_Donor = 18,
  FieldTypeFt_Social_Security_Number = 19,
  FieldTypeFt_DL_Class = 20,
  FieldTypeFt_DL_Endorsed = 21,
  FieldTypeFt_DL_Restriction_Code = 22,
  FieldTypeFt_DL_Under_21_Date = 23,
  FieldTypeFt_Authority = 24,
  FieldTypeFt_Surname_And_Given_Names = 25,
  FieldTypeFt_Nationality_Code = 26,
  FieldTypeFt_Passport_Number = 27,
  FieldTypeFt_Invitation_Number = 28,
  FieldTypeFt_Visa_ID = 29,
  FieldTypeFt_Visa_Class = 30,
  FieldTypeFt_Visa_SubClass = 31,
  FieldTypeFt_MRZ_String1 = 32,
  FieldTypeFt_MRZ_String2 = 33,
  FieldTypeFt_MRZ_String3 = 34,
  FieldTypeFt_MRZ_Type = 35,
  FieldTypeFt_Optional_Data = 36,
  FieldTypeFt_Document_Class_Name = 37,
  FieldTypeFt_Issuing_State_Name = 38,
  FieldTypeFt_Place_of_Issue = 39,
  FieldTypeFt_Document_Number_Checksum = 40,
  FieldTypeFt_Date_of_Birth_Checksum = 41,
  FieldTypeFt_Date_of_Expiry_Checksum = 42,
  FieldTypeFt_Personal_Number_Checksum = 43,
  FieldTypeFt_FinalChecksum = 44,
  FieldTypeFt_Passport_Number_Checksum = 45,
  FieldTypeFt_Invitation_Number_Checksum = 46,
  FieldTypeFt_Visa_ID_Checksum = 47,
  FieldTypeFt_Surname_And_Given_Names_Checksum = 48,
  FieldTypeFt_Visa_Valid_Until_Checksum = 49,
  FieldTypeFt_Other = 50,
  FieldTypeFt_MRZ_Strings = 51,
  FieldTypeFt_Name_Suffix = 52,
  FieldTypeFt_Name_Prefix = 53,
  FieldTypeFt_Date_of_Issue_Checksum = 54,
  FieldTypeFt_Date_of_Issue_CheckDigit = 55,
  FieldTypeFt_Document_Series = 56,
  FieldTypeFt_RegCert_RegNumber = 57,
  FieldTypeFt_RegCert_CarModel = 58,
  FieldTypeFt_RegCert_CarColor = 59,
  FieldTypeFt_RegCert_BodyNumber = 60,
  FieldTypeFt_RegCert_CarType = 61,
  FieldTypeFt_RegCert_MaxWeight = 62,
  FieldTypeFt_Reg_Cert_Weight = 63,
  FieldTypeFt_Address_Area = 64,
  FieldTypeFt_Address_State = 65,
  FieldTypeFt_Address_Building = 66,
  FieldTypeFt_Address_House = 67,
  FieldTypeFt_Address_Flat = 68,
  FieldTypeFt_Place_of_Registration = 69,
  FieldTypeFt_Date_of_Registration = 70,
  FieldTypeFt_Resident_From = 71,
  FieldTypeFt_Resident_Until = 72,
  FieldTypeFt_Authority_Code = 73,
  FieldTypeFt_Place_of_Birth_Area = 74,
  FieldTypeFt_Place_of_Birth_StateCode = 75,
  FieldTypeFt_Address_Street = 76,
  FieldTypeFt_Address_City = 77,
  FieldTypeFt_Address_Jurisdiction_Code = 78,
  FieldTypeFt_Address_Postal_Code = 79,
  FieldTypeFt_Document_Number_CheckDigit = 80,
  FieldTypeFt_Date_of_Birth_CheckDigit = 81,
  FieldTypeFt_Date_of_Expiry_CheckDigit = 82,
  FieldTypeFt_Personal_Number_CheckDigit = 83,
  FieldTypeFt_FinalCheckDigit = 84,
  FieldTypeFt_Passport_Number_CheckDigit = 85,
  FieldTypeFt_Invitation_Number_CheckDigit = 86,
  FieldTypeFt_Visa_ID_CheckDigit = 87,
  FieldTypeFt_Surname_And_Given_Names_CheckDigit = 88,
  FieldTypeFt_Visa_Valid_Until_CheckDigit = 89,
  FieldTypeFt_Permit_DL_Class = 90,
  FieldTypeFt_Permit_Date_of_Expiry = 91,
  FieldTypeFt_Permit_Identifier = 92,
  FieldTypeFt_Permit_Date_of_Issue = 93,
  FieldTypeFt_Permit_Restriction_Code = 94,
  FieldTypeFt_Permit_Endorsed = 95,
  FieldTypeFt_Issue_Timestamp = 96,
  FieldTypeFt_Number_of_Duplicates = 97,
  FieldTypeFt_Medical_Indicator_Codes = 98,
  FieldTypeFt_Non_Resident_Indicator = 99,
  FieldTypeFt_Visa_Type = 100,
  FieldTypeFt_Visa_Valid_From = 101,
  FieldTypeFt_Visa_Valid_Until = 102,
  FieldTypeFt_Duration_of_Stay = 103,
  FieldTypeFt_Number_of_Entries = 104,
  FieldTypeFt_Day = 105,
  FieldTypeFt_Month = 106,
  FieldTypeFt_Year = 107,
  FieldTypeFt_Unique_Customer_Identifier = 108,
  FieldTypeFt_Commercial_Vehicle_Codes = 109,
  FieldTypeFt_AKA_Date_of_Birth = 110,
  FieldTypeFt_AKA_Social_Security_Number = 111,
  FieldTypeFt_AKA_Surname = 112,
  FieldTypeFt_AKA_Given_Names = 113,
  FieldTypeFt_AKA_Name_Suffix = 114,
  FieldTypeFt_AKA_Name_Prefix = 115,
  FieldTypeFt_Mailing_Address_Street = 116,
  FieldTypeFt_Mailing_Address_City = 117,
  FieldTypeFt_Mailing_Address_Jurisdiction_Code = 118,
  FieldTypeFt_Mailing_Address_Postal_Code = 119,
  FieldTypeFt_Audit_Information = 120,
  FieldTypeFt_Inventory_Number = 121,
  FieldTypeFt_Race_Ethnicity = 122,
  FieldTypeFt_Jurisdiction_Vehicle_Class = 123,
  FieldTypeFt_Jurisdiction_Endorsement_Code = 124,
  FieldTypeFt_Jurisdiction_Restriction_Code = 125,
  FieldTypeFt_Family_Name = 126,
  FieldTypeFt_Given_Names_RUS = 127,
  FieldTypeFt_Visa_ID_RUS = 128,
  FieldTypeFt_Fathers_Name = 129,
  FieldTypeFt_Fathers_Name_RUS = 130,
  FieldTypeFt_Surname_And_Given_Names_RUS = 131,
  FieldTypeFt_Place_Of_Birth_RUS = 132,
  FieldTypeFt_Authority_RUS = 133,
  FieldTypeFt_Issuing_State_Code_Numeric = 134,
  FieldTypeFt_Nationality_Code_Numeric = 135,
  FieldTypeFt_Engine_Power = 136,
  FieldTypeFt_Engine_Volume = 137,
  FieldTypeFt_Chassis_Number = 138,
  FieldTypeFt_Engine_Number = 139,
  FieldTypeFt_Engine_Model = 140,
  FieldTypeFt_Vehicle_Category = 141,
  FieldTypeFt_Identity_Card_Number = 142,
  FieldTypeFt_Control_No = 143,
  FieldTypeFt_Parrent_s_Given_Names = 144,
  FieldTypeFt_Second_Surname = 145,
  FieldTypeFt_Middle_Name = 146,
  FieldTypeFt_RegCert_VIN = 147,
  FieldTypeFt_RegCert_VIN_CheckDigit = 148,
  FieldTypeFt_RegCert_VIN_Checksum = 149,
  FieldTypeFt_Line1_CheckDigit = 150,
  FieldTypeFt_Line2_CheckDigit = 151,
  FieldTypeFt_Line3_CheckDigit = 152,
  FieldTypeFt_Line1_Checksum = 153,
  FieldTypeFt_Line2_Checksum = 154,
  FieldTypeFt_Line3_Checksum = 155,
  FieldTypeFt_RegCert_RegNumber_CheckDigit = 156,
  FieldTypeFt_RegCert_RegNumber_Checksum = 157,
  FieldTypeFt_RegCert_Vehicle_ITS_Code = 158,
  FieldTypeFt_Card_Access_Number = 159,
  FieldTypeFt_Marital_Status = 160,
  FieldTypeFt_Company_Name = 161,
  FieldTypeFt_Special_Notes = 162,
  FieldTypeFt_Surname_of_Spose = 163,
  FieldTypeFt_Tracking_Number = 164,
  FieldTypeFt_Booklet_Number = 165,
  FieldTypeFt_Children = 166,
  FieldTypeFt_Copy = 167,
  FieldTypeFt_Serial_Number = 168,
  FieldTypeFt_Dossier_Number = 169,
  FieldTypeFt_AKA_Surname_And_Given_Names = 170,
  FieldTypeFt_Territorial_Validity = 171,
  FieldTypeFt_MRZ_Strings_With_Correct_CheckSums = 172,
  FieldTypeFt_DL_CDL_Restriction_Code = 173,
  FieldTypeFt_DL_Under_18_Date = 174,
  FieldTypeFt_DL_Record_Created = 175,
  FieldTypeFt_DL_Duplicate_Date = 176,
  FieldTypeFt_DL_Iss_Type = 177,
  FieldTypeFt_Military_Book_Number = 178,
  FieldTypeFt_Destination = 179,
  FieldTypeFt_Blood_Group = 180,
  FieldTypeFt_Sequence_Number = 181,
  FieldTypeFt_RegCert_BodyType = 182,
  FieldTypeFt_RegCert_CarMark = 183,
  FieldTypeFt_Transaction_Number = 184,
  FieldTypeFt_Age = 185,
  FieldTypeFt_Folio_Number = 186,
  FieldTypeFt_Voter_Key = 187,
  FieldTypeFt_Address_Municipality = 188,
  FieldTypeFt_Address_Location = 189,
  FieldTypeFt_Section = 190,
  FieldTypeFt_OCR_Number = 191,
  FieldTypeFt_Federal_Elections = 192,
  FieldTypeFt_Reference_Number = 193,
  FieldTypeFt_Optional_Data_Checksum = 194,
  FieldTypeFt_Optional_Data_CheckDigit = 195,
  FieldTypeFt_Visa_Number = 196,
  FieldTypeFt_Visa_Number_Checksum = 197,
  FieldTypeFt_Visa_Number_CheckDigit = 198,
  FieldTypeFt_Voter = 199,
  FieldTypeFt_Previous_Type = 200,
  FieldTypeFt_FieldFromMRZ = 220,
  FieldTypeFt_CurrentDate = 221,
  FieldTypeFt_Status_Date_of_Expiry = 251,
  FieldTypeFt_Banknote_Number = 252,
  FieldTypeFt_CSC_Code = 253,
  FieldTypeFt_Artistic_Name = 254,
  FieldTypeFt_Academic_Title = 255,
  FieldTypeFt_Address_Country = 256,
  FieldTypeFt_Address_Zipcode = 257,
  FieldTypeFt_eID_Residence_Permit1 = 258,
  FieldTypeFt_eID_Residence_Permit2 = 259,
  FieldTypeFt_eID_PlaceOfBirth_Street = 260,
  FieldTypeFt_eID_PlaceOfBirth_City = 261,
  FieldTypeFt_eID_PlaceOfBirth_State = 262,
  FieldTypeFt_eID_PlaceOfBirth_Country = 263,
  FieldTypeFt_eID_PlaceOfBirth_Zipcode = 264,
  FieldTypeFt_CDL_Class = 265,
  FieldTypeFt_DL_Under_19_Date = 266,
  FieldTypeFt_Weight_pounds = 267,
  FieldTypeFt_Limited_Duration_Document_Indicator = 268,
  FieldTypeFt_Endorsement_Expiration_Date = 269,
  FieldTypeFt_Revision_Date = 270,
  FieldTypeFt_Compliance_Type = 271,
  FieldTypeFt_Family_name_truncation = 272,
  FieldTypeFt_First_name_truncation = 273,
  FieldTypeFt_Middle_name_truncation = 274,
  FieldTypeFt_Exam_Date = 275,
  FieldTypeFt_Organization = 276,
  FieldTypeFt_Department = 277,
  FieldTypeFt_Pay_Grade = 278,
  FieldTypeFt_Rank = 279,
  FieldTypeFt_Benefits_Number = 280,
  FieldTypeFt_Sponsor_Service = 281,
  FieldTypeFt_Sponsor_Status = 282,
  FieldTypeFt_Sponsor = 283,
  FieldTypeFt_Relationship = 284,
  FieldTypeFt_USCIS = 285,
  FieldTypeFt_Category = 286,
  FieldTypeFt_Conditions = 287,
  FieldTypeFt_Identifier = 288,
  FieldTypeFt_Configuration = 289,
  FieldTypeFt_Discretionary_data = 290,
  FieldTypeFt_Line1_Optional_Data = 291,
  FieldTypeFt_Line2_Optional_Data = 292,
  FieldTypeFt_Line3_Optional_Data = 293,
  FieldTypeFt_EQV_Code = 294,
  FieldTypeFt_ALT_Code = 295,
  FieldTypeFt_Binary_Code = 296,
  FieldTypeFt_Pseudo_Code = 297,
  FieldTypeFt_Fee = 298,
  FieldTypeFt_Stamp_Number = 299,
  FieldTypeFt_SBH_SecurityOptions = 300,
  FieldTypeFt_SBH_IntegrityOptions = 301,
  FieldTypeFt_Date_of_Creation = 302,
  FieldTypeFt_Validity_Period = 303,
  FieldTypeFt_Patron_Header_Version = 304,
  FieldTypeFt_BDB_Type = 305,
  FieldTypeFt_Biometric_Type = 306,
  FieldTypeFt_Biometric_Subtype = 307,
  FieldTypeFt_Biometric_ProductID = 308,
  FieldTypeFt_Biometric_Format_Owner = 309,
  FieldTypeFt_Biometric_Format_Type = 310,
  FieldTypeFt_Phone = 311,
  FieldTypeFt_Profession = 312,
  FieldTypeFt_Title = 313,
  FieldTypeFt_Personal_Summary = 314,
  FieldTypeFt_Other_Valid_ID = 315,
  FieldTypeFt_Custody_Info = 316,
  FieldTypeFt_Other_Name = 317,
  FieldTypeFt_Observations = 318,
  FieldTypeFt_Tax = 319,
  FieldTypeFt_Date_of_Personalization = 320,
  FieldTypeFt_Personalization_SN = 321,
  FieldTypeFt_OtherPerson_Name = 322,
  FieldTypeFt_PersonToNotify_Date_of_Record = 323,
  FieldTypeFt_PersonToNotify_Name = 324,
  FieldTypeFt_PersonToNotify_Phone = 325,
  FieldTypeFt_PersonToNotify_Address = 326,
  FieldTypeFt_DS_Certificate_Issuer = 327,
  FieldTypeFt_DS_Certificate_Subject = 328,
  FieldTypeFt_DS_Certificate_ValidFrom = 329,
  FieldTypeFt_DS_Certificate_ValidTo = 330,
  FieldTypeFt_VRC_DataObject_Entry = 331,
  FieldTypeFt_TypeApprovalNumber = 332,
  FieldTypeFt_AdministrativeNumber = 333,
  FieldTypeFt_DocumentDiscriminator = 334,
  FieldTypeFt_DataDiscriminator = 335,
  FieldTypeFt_ISO_Issuer_ID_Number = 336,
  FieldTypeFt_GNIB_Number = 340,
  FieldTypeFt_Dept_Number = 341,
  FieldTypeFt_Telex_Code = 342,
  FieldTypeFt_Allergies = 343,
  FieldTypeFt_Sp_Code = 344,
  FieldTypeFt_Court_Code = 345,
  FieldTypeFt_Cty = 346,
  FieldTypeFt_Sponsor_SSN = 347,
  FieldTypeFt_DoD_Number = 348,
  FieldTypeFt_MC_Novice_Date = 349,
  FieldTypeFt_DUF_Number = 350,
  FieldTypeFt_AGY = 351,
  FieldTypeFt_PNR_Code = 352,
  FieldTypeFt_From_Airport_Code = 353,
  FieldTypeFt_To_Airport_Code = 354,
  FieldTypeFt_Flight_Number = 355,
  FieldTypeFt_Date_of_Flight = 356,
  FieldTypeFt_Seat_Number = 357,
  FieldTypeFt_Date_of_Issue_Boarding_Pass = 358,
  FieldTypeFt_CCW_Until = 359,
  FieldTypeFt_Reference_Number_Checksum = 360,
  FieldTypeFt_Reference_Number_CheckDigit = 361,
  FieldTypeFt_Room_Number = 362,
  FieldTypeFt_Religion = 363,
  FieldTypeFt_RemainderTerm = 364,
  FieldTypeFt_Electronic_Ticket_Indicator = 365,
  FieldTypeFt_Compartment_Code = 366,
  FieldTypeFt_CheckIn_Sequence_Number = 367,
  FieldTypeFt_Airline_Designator_of_boarding_pass_issuer = 368,
  FieldTypeFt_Airline_Numeric_Code = 369,
  FieldTypeFt_Ticket_Number = 370,
  FieldTypeFt_Frequent_Flyer_Airline_Designator = 371,
  FieldTypeFt_Frequent_Flyer_Number = 372,
  FieldTypeFt_Free_Baggage_Allowance = 373,
  FieldTypeFt_PDF417Codec = 374,
  FieldTypeFt_Identity_Card_Number_Checksum = 375,
  FieldTypeFt_Identity_Card_Number_CheckDigit = 376,
  FieldTypeFt_Veteran = 377,
  FieldTypeFt_DLClassCode_A1_From = 378,
  FieldTypeFt_DLClassCode_A1_To = 379,
  FieldTypeFt_DLClassCode_A1_Notes = 380,
  FieldTypeFt_DLClassCode_A_From = 381,
  FieldTypeFt_DLClassCode_A_To = 382,
  FieldTypeFt_DLClassCode_A_Notes = 383,
  FieldTypeFt_DLClassCode_B_From = 384,
  FieldTypeFt_DLClassCode_B_To = 385,
  FieldTypeFt_DLClassCode_B_Notes = 386,
  FieldTypeFt_DLClassCode_C1_From = 387,
  FieldTypeFt_DLClassCode_C1_To = 388,
  FieldTypeFt_DLClassCode_C1_Notes = 389,
  FieldTypeFt_DLClassCode_C_From = 390,
  FieldTypeFt_DLClassCode_C_To = 391,
  FieldTypeFt_DLClassCode_C_Notes = 392,
  FieldTypeFt_DLClassCode_D1_From = 393,
  FieldTypeFt_DLClassCode_D1_To = 394,
  FieldTypeFt_DLClassCode_D1_Notes = 395,
  FieldTypeFt_DLClassCode_D_From = 396,
  FieldTypeFt_DLClassCode_D_To = 397,
  FieldTypeFt_DLClassCode_D_Notes = 398,
  FieldTypeFt_DLClassCode_BE_From = 399,
  FieldTypeFt_DLClassCode_BE_To = 400,
  FieldTypeFt_DLClassCode_BE_Notes = 401,
  FieldTypeFt_DLClassCode_C1E_From = 402,
  FieldTypeFt_DLClassCode_C1E_To = 403,
  FieldTypeFt_DLClassCode_C1E_Notes = 404,
  FieldTypeFt_DLClassCode_CE_From = 405,
  FieldTypeFt_DLClassCode_CE_To = 406,
  FieldTypeFt_DLClassCode_CE_Notes = 407,
  FieldTypeFt_DLClassCode_D1E_From = 408,
  FieldTypeFt_DLClassCode_D1E_To = 409,
  FieldTypeFt_DLClassCode_D1E_Notes = 410,
  FieldTypeFt_DLClassCode_DE_From = 411,
  FieldTypeFt_DLClassCode_DE_To = 412,
  FieldTypeFt_DLClassCode_DE_Notes = 413,
  FieldTypeFt_DLClassCode_M_From = 414,
  FieldTypeFt_DLClassCode_M_To = 415,
  FieldTypeFt_DLClassCode_M_Notes = 416,
  FieldTypeFt_DLClassCode_L_From = 417,
  FieldTypeFt_DLClassCode_L_To = 418,
  FieldTypeFt_DLClassCode_L_Notes = 419,
  FieldTypeFt_DLClassCode_T_From = 420,
  FieldTypeFt_DLClassCode_T_To = 421,
  FieldTypeFt_DLClassCode_T_Notes = 422,
  FieldTypeFt_DLClassCode_AM_From = 423,
  FieldTypeFt_DLClassCode_AM_To = 424,
  FieldTypeFt_DLClassCode_AM_Notes = 425,
  FieldTypeFt_DLClassCode_A2_From = 426,
  FieldTypeFt_DLClassCode_A2_To = 427,
  FieldTypeFt_DLClassCode_A2_Notes = 428,
  FieldTypeFt_DLClassCode_B1_From = 429,
  FieldTypeFt_DLClassCode_B1_To = 430,
  FieldTypeFt_DLClassCode_B1_Notes = 431,
  FieldTypeFt_Surname_at_Birth = 432,
  FieldTypeFt_Civil_Status = 433,
  FieldTypeFt_Number_of_Seats = 434,
  FieldTypeFt_Number_of_Standing_Places = 435,
  FieldTypeFt_Max_Speed = 436,
  FieldTypeFt_Fuel_Type = 437,
  FieldTypeFt_EC_Environmental_Type = 438,
  FieldTypeFt_Power_Weight_Ratio = 439,
  FieldTypeFt_Max_Mass_of_Trailer_Braked = 440,
  FieldTypeFt_Max_Mass_of_Trailer_Unbraked = 441,
  FieldTypeFt_Transmission_Type = 442,
  FieldTypeFt_Trailer_Hitch = 443,
  FieldTypeFt_Accompanied_by = 444,
  FieldTypeFt_Police_District = 445,
  FieldTypeFt_First_Issue_Date = 446,
  FieldTypeFt_Payload_Capacity = 447,
  FieldTypeFt_Number_of_Axels = 448,
  FieldTypeFt_Permissible_Axle_Load = 449,
  FieldTypeFt_Precinct = 450,
  FieldTypeFt_Invited_by = 451,
  FieldTypeFt_Purpose_of_Entry = 452,
  FieldTypeFt_Skin_Color = 453,
  FieldTypeFt_Complexion = 454,
  FieldTypeFt_Airport_From = 455,
  FieldTypeFt_Airport_To = 456,
  FieldTypeFt_Airline_Name = 457,
  FieldTypeFt_Airline_Name_Frequent_Flyer = 458,
  FieldTypeFt_License_Number = 459,
  FieldTypeFt_In_Tanks = 460,
  FieldTypeFt_Exept_In_Tanks = 461,
  FieldTypeFt_Fast_Track = 462,
  FieldTypeFt_Owner = 463,
  FieldTypeFt_MRZ_Strings_ICAO_RFID = 464,
  FieldTypeFt_Number_of_Card_Issuance = 465,
  FieldTypeFt_Number_of_Card_Issuance_Checksum = 466,
  FieldTypeFt_Number_of_Card_Issuance_CheckDigit = 467,
  FieldTypeFt_Century_Date_of_Birth = 468,
  FieldTypeFt_DLClassCode_A3_From = 469,
  FieldTypeFt_DLClassCode_A3_To = 470,
  FieldTypeFt_DLClassCode_A3_Notes = 471,
  FieldTypeFt_DLClassCode_C2_From = 472,
  FieldTypeFt_DLClassCode_C2_To = 473,
  FieldTypeFt_DLClassCode_C2_Notes = 474,
  FieldTypeFt_DLClassCode_B2_From = 475,
  FieldTypeFt_DLClassCode_B2_To = 476,
  FieldTypeFt_DLClassCode_B2_Notes = 477,
  FieldTypeFt_DLClassCode_D2_From = 478,
  FieldTypeFt_DLClassCode_D2_To = 479,
  FieldTypeFt_DLClassCode_D2_Notes = 480,
  FieldTypeFt_DLClassCode_B2E_From = 481,
  FieldTypeFt_DLClassCode_B2E_To = 482,
  FieldTypeFt_DLClassCode_B2E_Notes = 483,
  FieldTypeFt_DLClassCode_G_From = 484,
  FieldTypeFt_DLClassCode_G_To = 485,
  FieldTypeFt_DLClassCode_G_Notes = 486,
  FieldTypeFt_DLClassCode_J_From = 487,
  FieldTypeFt_DLClassCode_J_To = 488,
  FieldTypeFt_DLClassCode_J_Notes = 489,
  FieldTypeFt_DLClassCode_LC_From = 490,
  FieldTypeFt_DLClassCode_LC_To = 491,
  FieldTypeFt_DLClassCode_LC_Notes = 492,
  FieldTypeFt_BankCardNumber = 493,
  FieldTypeFt_BankCardValidThru = 494,
  FieldTypeFt_TaxNumber = 495,
  FieldTypeFt_HealthNumber = 496,
  FieldTypeFt_GrandfatherName = 497,
  FieldTypeFt_Selectee_Indicator = 498,
  FieldTypeFt_Mother_Surname = 499,
  FieldTypeFt_Mother_GivenName = 500,
  FieldTypeFt_Father_Surname = 501,
  FieldTypeFt_Father_GivenName = 502,
  FieldTypeFt_Mother_DateOfBirth = 503,
  FieldTypeFt_Father_DateOfBirth = 504,
  FieldTypeFt_Mother_PersonalNumber = 505,
  FieldTypeFt_Father_PersonalNumber = 506,
  FieldTypeFt_Mother_PlaceOfBirth = 507,
  FieldTypeFt_Father_PlaceOfBirth = 508,
  FieldTypeFt_Mother_CountryOfBirth = 509,
  FieldTypeFt_Father_CountryOfBirth = 510,
};

typedef SWIFT_ENUM(NSInteger, FieldVerificationResult, closed) {
  FieldVerificationResultDisabled = 0,
  FieldVerificationResultVerified = 1,
  FieldVerificationResultNotVerified = 2,
  FieldVerificationResultCompareTrue = 3,
  FieldVerificationResultCompareFalse = 4,
};




SWIFT_CLASS_NAMED("Functionality")
@interface Functionality : NSObject
@property (nonatomic) enum DocReaderFrame cameraFrame;
@property (nonatomic) BOOL showTorchButton;
@property (nonatomic) BOOL showCloseButton;
@property (nonatomic) BOOL showCaptureButton;
@property (nonatomic) BOOL showChangeFrameButton;
@property (nonatomic) BOOL showCameraSwitchBtn;
@property (nonatomic) BOOL showSkipNextPageButton;
@property (nonatomic) BOOL skipFocusingFrames;
@property (nonatomic) AVCaptureSessionPreset _Nullable videoSessionPreset;
@property (nonatomic) BOOL videoCaptureMotionControl;
@property (nonatomic) UIInterfaceOrientationMask orientation;
@property (nonatomic) BOOL isOnlineMode;
@property (nonatomic, copy) NSString * _Nullable serviceURL;
@property (nonatomic) BOOL singleResult;
@property (nonatomic) AVCaptureDevicePosition cameraPosition;
- (BOOL)setUVTorchEnabledWithEnabled:(BOOL)enabled error:(NSError * _Nullable * _Nullable)error;
- (BOOL)setRfidEnabledWithEnabled:(BOOL)enabled error:(NSError * _Nullable * _Nullable)error;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end

typedef SWIFT_ENUM(NSInteger, GraphicFieldLight, closed) {
  GraphicFieldLightUv = 128,
  GraphicFieldLightWhite = 6,
};

typedef SWIFT_ENUM(NSInteger, GraphicFieldType, closed) {
  GraphicFieldTypeGf_Portrait = 201,
  GraphicFieldTypeGf_Fingerprint = 202,
  GraphicFieldTypeGf_Eye = 203,
  GraphicFieldTypeGf_Signature = 204,
  GraphicFieldTypeGf_BarCode = 205,
  GraphicFieldTypeGf_ProofOfCitizenship = 206,
  GraphicFieldTypeGf_DocumentFront = 207,
  GraphicFieldTypeGf_DocumentRear = 208,
  GraphicFieldTypeGf_ColorDynamic = 209,
  GraphicFieldTypeGf_GhostPortrait = 210,
  GraphicFieldTypeGf_Stamp = 211,
  GraphicFieldTypeGf_Other = 250,
  GraphicFieldTypeGf_FingerLeftThumb = 300,
  GraphicFieldTypeGf_FingerLeftIndex = 301,
  GraphicFieldTypeGf_FingerLeftMiddle = 302,
  GraphicFieldTypeGf_FingerLeftRing = 303,
  GraphicFieldTypeGf_FingerLeftLittle = 304,
  GraphicFieldTypeGf_FingerRightThumb = 305,
  GraphicFieldTypeGf_FingerRightIndex = 306,
  GraphicFieldTypeGf_FingerRightMiddle = 307,
  GraphicFieldTypeGf_FingerRightRing = 308,
  GraphicFieldTypeGf_FingerRightLittle = 309,
};


SWIFT_CLASS_NAMED("ImageQuality")
@interface ImageQuality : NSObject
@property (nonatomic, readonly) enum EImageQualityCheckType type;
@property (nonatomic, readonly) enum CheckResult result;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end


SWIFT_CLASS_NAMED("ImageQualityGroup")
@interface ImageQualityGroup : NSObject
@property (nonatomic, readonly) NSInteger count;
@property (nonatomic, readonly) enum CheckResult result;
@property (nonatomic, readonly, copy) NSArray<ImageQuality *> * _Nonnull imageQualityList;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end

typedef SWIFT_ENUM(NSInteger, LCID, closed) {
  LCIDLatin = 0,
  LCIDAfrikaans = 1078,
  LCIDAlbanian = 1052,
  LCIDArabicAlgeria = 5121,
  LCIDArabicBahrain = 15361,
  LCIDArabicEgypt = 3073,
  LCIDArabicIraq = 2049,
  LCIDArabicJordan = 11265,
  LCIDArabicKuwait = 13313,
  LCIDArabicLebanon = 12289,
  LCIDArabicLibya = 4097,
  LCIDArabicMorocco = 6145,
  LCIDArabicOman = 8193,
  LCIDArabicQatar = 16385,
  LCIDArabicSaudiArabia = 1025,
  LCIDArabicSyria = 10241,
  LCIDArabicTunisia = 7169,
  LCIDArabicUAE = 14337,
  LCIDArabicYemen = 9217,
  LCIDAzeriCyrillic = 2092,
  LCIDAzeriLatin = 1068,
  LCIDBasque = 1069,
  LCIDBelarusian = 1059,
  LCIDBulgarian = 1026,
  LCIDCatalan = 1027,
  LCIDCroatian = 1050,
  LCIDCzech = 1029,
  LCIDDanish = 1030,
  LCIDDutchBelgium = 2067,
  LCIDDutchNetherlands = 1043,
  LCIDEnglishAustralia = 3081,
  LCIDEnglishBelize = 10249,
  LCIDEnglishCanada = 4105,
  LCIDEnglishCaribbean = 9225,
  LCIDEnglishIreland = 6153,
  LCIDEnglishJamaica = 8201,
  LCIDEnglishNewZealand = 5129,
  LCIDEnglishPhilippines = 13321,
  LCIDEnglishSouthAfrica = 7177,
  LCIDEnglishTrinidad = 11273,
  LCIDEnglishUnitedKingdom = 2057,
  LCIDEnglishUnitedStates = 1033,
  LCIDEnglishZimbabwe = 12297,
  LCIDEstonian = 1061,
  LCIDFaroese = 1080,
  LCIDFarsi = 1065,
  LCIDFinnish = 1035,
  LCIDFrenchBelgium = 2060,
  LCIDFrenchCanada = 3084,
  LCIDFrenchFrance = 1036,
  LCIDFrenchLuxembourg = 5132,
  LCIDFrenchMonaco = 6156,
  LCIDFrenchSwitzerland = 4108,
  LCIDFyroMacedonian = 1071,
  LCIDGalician = 1110,
  LCIDGeorgian = 1079,
  LCIDGermanAustria = 3079,
  LCIDGermanGermany = 1031,
  LCIDGermanLiechtenstein = 5127,
  LCIDGermanLuxembourg = 4103,
  LCIDGermanSwitzerland = 2055,
  LCIDGreek = 1032,
  LCIDHebrew = 1037,
  LCIDHungarian = 1038,
  LCIDIcelandic = 1039,
  LCIDIndonesian = 1057,
  LCIDItalianItaly = 1040,
  LCIDItalianSwitzerland = 2064,
  LCIDKazakh = 1087,
  LCIDKyrgyzCyrillic = 1088,
  LCIDLatvian = 1062,
  LCIDLithuanian = 1063,
  LCIDMalayBruneiDarussalam = 2110,
  LCIDMalayMalaysia = 1086,
  LCIDMongolianCyrillic = 1104,
  LCIDNorwegianBokmal = 1044,
  LCIDNorwegianNynorsk = 2068,
  LCIDPolish = 1045,
  LCIDPortugueseBrazil = 1046,
  LCIDPortuguesePortugal = 2070,
  LCIDRhaetoRomanic = 1047,
  LCIDRomanian = 1048,
  LCIDRussian = 1049,
  LCIDSerbianCyrillic = 3098,
  LCIDSerbianLatin = 2074,
  LCIDSlovak = 1051,
  LCIDSlovenian = 1060,
  LCIDSpanishArgentina = 11274,
  LCIDSpanishBolivia = 16394,
  LCIDSpanishChile = 13322,
  LCIDSpanishColombia = 9226,
  LCIDSpanishCostaRica = 5130,
  LCIDSpanishDominicanRepublic = 7178,
  LCIDSpanishEcuador = 12298,
  LCIDSpanishElSalvador = 17418,
  LCIDSpanishGuatemala = 4106,
  LCIDSpanishHonduras = 18442,
  LCIDSpanishInternationalSort = 3082,
  LCIDSpanishMexico = 2058,
  LCIDSpanishNicaragua = 19466,
  LCIDSpanishPanama = 6154,
  LCIDSpanishParaguay = 15370,
  LCIDSpanishPeru = 10250,
  LCIDSpanishPuertoRico = 20490,
  LCIDSpanishTraditionalSort = 1034,
  LCIDSpanishUruguay = 14346,
  LCIDSpanishVenezuela = 8202,
  LCIDSwahili = 1089,
  LCIDSwedish = 1053,
  LCIDSwedishFinland = 2077,
  LCIDTatar = 1092,
  LCIDTurkish = 1055,
  LCIDUkrainian = 1058,
  LCIDUrdu = 1056,
  LCIDUzbekCyrillic = 2115,
  LCIDUzbekLatin = 1091,
  LCIDVietnamese = 1066,
  LCIDTajikCyrillic = 1064,
  LCIDCustom = 9999,
};


SWIFT_CLASS_NAMED("License")
@interface License : NSObject
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end

typedef SWIFT_ENUM(NSInteger, LightType, closed) {
  LightTypeWhite = 6,
  LightTypeUv = 128,
};


SWIFT_CLASS("_TtC14DocumentReader8Localize")
@interface Localize : NSObject
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end


SWIFT_CLASS("_TtC14DocumentReader8MaskView")
@interface MaskView : UIView
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
- (void)layoutSubviews;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
@end




SWIFT_CLASS("_TtC14DocumentReader14NetworkService")
@interface NetworkService : NSObject
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end

@class NSURLSession;
@class NSURLSessionDataTask;
@class NSURLResponse;
@class NSURLSessionTask;

@interface NetworkService (SWIFT_EXTENSION(DocumentReader)) <NSURLSessionDataDelegate>
- (void)URLSession:(NSURLSession * _Nonnull)session dataTask:(NSURLSessionDataTask * _Nonnull)dataTask didReceiveResponse:(NSURLResponse * _Nonnull)response completionHandler:(void (^ _Nonnull)(NSURLSessionResponseDisposition))completionHandler;
- (void)URLSession:(NSURLSession * _Nonnull)session dataTask:(NSURLSessionDataTask * _Nonnull)dataTask didReceiveData:(NSData * _Nonnull)data;
- (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task didCompleteWithError:(NSError * _Nullable)error;
@end



SWIFT_CLASS("_TtC14DocumentReader11PreviewView")
@interface PreviewView : UIView
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) Class _Nonnull layerClass;)
+ (Class _Nonnull)layerClass SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
@end


SWIFT_CLASS_NAMED("ProcessParams")
@interface ProcessParams : NSObject
@property (nonatomic, copy) NSString * _Nullable scenario;
@property (nonatomic) BOOL logs;
@property (nonatomic) BOOL multipageProcessing;
@property (nonatomic) BOOL disableFocusingCheck;
@property (nonatomic) BOOL debugSaveImages;
@property (nonatomic) BOOL debugSaveCroppedImages;
@property (nonatomic) BOOL debugSaveLogs;
@property (nonatomic, copy) NSString * _Nonnull dateFormat;
@property (nonatomic, copy) NSArray<NSNumber *> * _Nullable documentIDList;
@property (nonatomic, readonly, copy) NSString * _Nullable sessionLogFolder;
@property (nonatomic, copy) NSArray<NSNumber *> * _Nullable fieldTypesFilter;
@property (nonatomic, copy) NSArray<NSNumber *> * _Nullable barcodeTypes;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end

typedef SWIFT_ENUM(NSInteger, RGLCommand, closed) {
  RGLCommandTestCommand = 0,
};


SWIFT_CLASS("_TtC14DocumentReader30RGLDataTransferCallbackHandler")
@interface RGLDataTransferCallbackHandler : NSObject
- (void)closureReturnWithParams:(NSArray * _Nonnull)params withCompletionHandler:(void (^ _Nonnull)(NSInteger, NSData * _Nonnull, NSString * _Nonnull))withCompletionHandler;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end

typedef SWIFT_ENUM(NSInteger, ResolutionType, closed) {
  ResolutionTypeHd1920x1080 = 0,
  ResolutionTypeHd4K3840x2160 = 1,
};

typedef SWIFT_ENUM(NSInteger, ResultType, closed) {
  ResultTypeEmpty = 0,
  ResultTypeRawImage = 1,
  ResultTypeFileImage = 2,
  ResultTypeMrzOCRExtended = 3,
  ResultTypeBarCodes = 5,
  ResultTypeGraphics = 6,
  ResultTypeMrzTestQuality = 7,
  ResultTypeDocumentTypesCandidates = 8,
  ResultTypeChosenDocumentTypeCandidate = 9,
  ResultTypeDocumentsInfoList = 10,
  ResultTypeOcrLexicalAnalyze = 15,
  ResultTypeRawUncroppedImage = 16,
  ResultTypeVisualOCRExtended = 17,
  ResultTypeBarCodesTextData = 18,
  ResultTypeBarCodesImageData = 19,
  ResultTypeAuthenticity = 20,
  ResultTypeExpertAnalyze = 21,
  ResultTypeOcrLexicalAnalyzeEx = 22,
  ResultTypeEosImage = 23,
  ResultTypeBayer = 24,
  ResultTypeMagneticStripe = 25,
  ResultTypeMagneticStripeTextData = 26,
  ResultTypeFieldFileImage = 27,
  ResultTypeDatabaseCheck = 28,
  ResultTypeFingerprintTemplateISO = 29,
  ResultTypeInputImageQuality = 30,
  ResultTypeMrzPosition = 61,
  ResultTypeBarcodePosition = 62,
  ResultTypeDocumentPosition = 85,
  ResultTypeCustom = 100,
  ResultTypeRfid_raw_data = 101,
  ResultTypeRfid_text_data = 102,
  ResultTypeRfid_image_data = 103,
  ResultTypeRfid_binary_data = 104,
  ResultTypeRfid_original_graphics = 105,
};


SWIFT_CLASS_NAMED("RoundedView")
@interface RoundedView : UIView
- (void)layoutSubviews;
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
@end


SWIFT_CLASS_NAMED("Scenario")
@interface Scenario : NSObject
@property (nonatomic, readonly, copy) NSString * _Nonnull identifier;
@property (nonatomic, readonly) enum DocReaderFrame frame;
@property (nonatomic, readonly) double frameKWHLandscape;
@property (nonatomic, readonly) double frameKWHPortrait;
@property (nonatomic, readonly, copy) NSString * _Nonnull scenarioDescription;
@property (nonatomic, readonly) BOOL barcodeExt;
@property (nonatomic, readonly) BOOL faceExt;
@property (nonatomic, readonly) BOOL multiPageOff;
@property (nonatomic, readonly, copy) NSString * _Nonnull caption;
@property (nonatomic, readonly) BOOL uvTorch;
@property (nonatomic, readonly) enum DocReaderOrientation frameOrientation;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
@end


@interface Scenario (SWIFT_EXTENSION(DocumentReader))
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
@end

typedef SWIFT_ENUM(NSInteger, SecurityFeatureType, closed) {
  SecurityFeatureTypeNone = -1,
  SecurityFeatureTypeBlank = 0,
  SecurityFeatureTypePhoto = 2,
  SecurityFeatureTypeMrz = 128,
};


SWIFT_CLASS("_TtC14DocumentReader11TargetLayer")
@interface TargetLayer : CAShapeLayer
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
- (nonnull instancetype)initWithLayer:(id _Nonnull)layer SWIFT_UNAVAILABLE;
@end







typedef SWIFT_ENUM(NSInteger, diDocType, closed) {
  diDocTypeDtNotDefined = 0,
  diDocTypeDtPassport = 11,
  diDocTypeDtIdentityCard = 12,
  diDocTypeDtDiplomaticPassport = 13,
  diDocTypeDtServicePassport = 14,
  diDocTypeDtSeamansIdentityDocument = 15,
  diDocTypeDtIdentityCardforResidence = 16,
  diDocTypeDtTraveldocument = 17,
  diDocTypeDtOther = 99,
  diDocTypeDtVisaID2 = 29,
  diDocTypeDtVisaID3 = 30,
  diDocTypeDtRegistrationCertificate = 31,
  diDocTypeDtNationalIdentityCard = 20,
  diDocTypeDtSocialIdentityCard = 21,
  diDocTypeDtAliensIdentityCard = 22,
  diDocTypeDtPrivilegedIdentityCard = 23,
  diDocTypeDtResidencePermitIdentityCard = 24,
  diDocTypeDtOriginCard = 25,
  diDocTypeDtEmergencyPassport = 26,
  diDocTypeDtAliensPassport = 27,
  diDocTypeDtAlternativeIdentityCard = 28,
  diDocTypeDtAuthorizationCard = 32,
  diDocTypeDtBeginnerPermit = 33,
  diDocTypeDtBorderCrossingCard = 34,
  diDocTypeDtChauffeurLicense = 35,
  diDocTypeDtChauffeurLicenseUnder18 = 36,
  diDocTypeDtChauffeurLicenseUnder21 = 37,
  diDocTypeDtCommercialDrivingLicense = 38,
  diDocTypeDtCommercialDrivingLicenseIndtuctionalPermit = 39,
  diDocTypeDtCommercialDrivingLicenseUnder18 = 40,
  diDocTypeDtCommercialDrivingLicenseUnder21 = 41,
  diDocTypeDtCommercialIndtuctionPermit = 42,
  diDocTypeDtCommercialNewPermit = 43,
  diDocTypeDtConcealedCarryLicense = 44,
  diDocTypeDtConcealedFirearmPermit = 45,
  diDocTypeDtConditionalDrivingLicense = 46,
  diDocTypeDtDepartmentOfVeteransAffairsIdentityCard = 47,
  diDocTypeDtDiplomaticDrivingLicense = 48,
  diDocTypeDtDrivingLicense = 49,
  diDocTypeDtDrivingLicenseIndtuctionalPermit = 50,
  diDocTypeDtDrivingLicenseIndtuctionalPermitUnder18 = 51,
  diDocTypeDtDrivingLicenseIndtuctionalPermitUnder21 = 52,
  diDocTypeDtDrivingLicenseLearnersPermit = 53,
  diDocTypeDtDrivingLicenseLearnersPermitUnder18 = 54,
  diDocTypeDtDrivingLicenseLearnersPermitUnder21 = 55,
  diDocTypeDtDrivingLicenseNovice = 56,
  diDocTypeDtDrivingLicenseNoviceUnder18 = 57,
  diDocTypeDtDrivingLicenseNoviceUnder21 = 58,
  diDocTypeDtDrivingLicenseRegisteredOffender = 59,
  diDocTypeDtDrivingLicenseRedtictedUnder18 = 60,
  diDocTypeDtDrivingLicenseRedtictedUnder21 = 61,
  diDocTypeDtDrivingLicenseTemporaryVisitor = 62,
  diDocTypeDtDrivingLicenseTemporaryVisitorUnder18 = 63,
  diDocTypeDtDrivingLicenseTemporaryVisitorUnder21 = 64,
  diDocTypeDtDrivingLicenseUnder18 = 65,
  diDocTypeDtDrivingLicenseUnder21 = 66,
  diDocTypeDtEmploymentDrivingPermit = 67,
  diDocTypeDtEnhancedChauffeurLicense = 68,
  diDocTypeDtEnhancedChauffeurLicenseUnder18 = 69,
  diDocTypeDtEnhancedChauffeurLicenseUnder21 = 70,
  diDocTypeDtEnhancedCommercialDrivingLicense = 71,
  diDocTypeDtEnhancedDrivingLicense = 72,
  diDocTypeDtEnhancedDrivingLicenseUnder18 = 73,
  diDocTypeDtEnhancedDrivingLicenseUnder21 = 74,
  diDocTypeDtEnhancedIdentityCard = 75,
  diDocTypeDtEnhancedIdentityCardUnder18 = 76,
  diDocTypeDtEnhancedIdentityCardUnder21 = 77,
  diDocTypeDtEnhancedOperatorsLicense = 78,
  diDocTypeDtFirearmsPermit = 79,
  diDocTypeDtFullProvisionalLicense = 80,
  diDocTypeDtFullProvisionalLicenseUnder18 = 81,
  diDocTypeDtFullProvisionalLicenseUnder21 = 82,
  diDocTypeDtGenevaConventionsIdentityCard = 83,
  diDocTypeDtGraduatedDrivingLicenseUnder18 = 84,
  diDocTypeDtGraduatedDrivingLicenseUnder21 = 85,
  diDocTypeDtGraduatedIndtuctionPermitUnder18 = 86,
  diDocTypeDtGraduatedIndtuctionPermitUnder21 = 87,
  diDocTypeDtGraduatedLicenseUnder18 = 88,
  diDocTypeDtGraduatedLicenseUnder21 = 89,
  diDocTypeDtHandgunCarryPermit = 90,
  diDocTypeDtIdentityAndPrivilegeCard = 91,
  diDocTypeDtIdentityCardMobilityImpaired = 92,
  diDocTypeDtIdentityCardRegisteredOffender = 93,
  diDocTypeDtIdentityCardTemporaryVisitor = 94,
  diDocTypeDtIdentityCardTemporaryVisitorUnder18 = 95,
  diDocTypeDtIdentityCardTemporaryVisitorUnder21 = 96,
  diDocTypeDtIdentityCardUnder18 = 97,
  diDocTypeDtIdentityCardUnder21 = 98,
  diDocTypeDtIgnitionInterlockPermit = 100,
  diDocTypeDtImmigrantVisa = 101,
  diDocTypeDtIndtuctionPermit = 102,
  diDocTypeDtIndtuctionPermitUnder18 = 103,
  diDocTypeDtIndtuctionPermitUnder21 = 104,
  diDocTypeDtInterimDrivingLicense = 105,
  diDocTypeDtInterimIdentityCard = 106,
  diDocTypeDtIntermediateDrivingLicense = 107,
  diDocTypeDtIntermediateDrivingLicenseUnder18 = 108,
  diDocTypeDtIntermediateDrivingLicenseUnder21 = 109,
  diDocTypeDtJuniorDrivingLicense = 110,
  diDocTypeDtLearnerIndtuctionalPermit = 111,
  diDocTypeDtLearnerLicense = 112,
  diDocTypeDtLearnerLicenseUnder18 = 113,
  diDocTypeDtLearnerLicenseUnder21 = 114,
  diDocTypeDtLearnerPermit = 115,
  diDocTypeDtLearnerPermitUnder18 = 116,
  diDocTypeDtLearnerPermitUnder21 = 117,
  diDocTypeDtLimitedLicense = 118,
  diDocTypeDtLimitedPermit = 119,
  diDocTypeDtLimitedTermDrivingLicense = 120,
  diDocTypeDtLimitedTermIdentityCard = 121,
  diDocTypeDtLiquorIdentityCard = 122,
  diDocTypeDtNewPermit = 123,
  diDocTypeDtNewPermitUnder18 = 124,
  diDocTypeDtNewPermitUnder21 = 125,
  diDocTypeDtNonUsCitizenDrivingLicense = 126,
  diDocTypeDtOccupationalDrivingLicense = 127,
  diDocTypeDtOneidaTribeOfIndiansIdentityCard = 128,
  diDocTypeDtOperatorLicense = 129,
  diDocTypeDtOperatorLicenseUnder18 = 130,
  diDocTypeDtOperatorLicenseUnder21 = 131,
  diDocTypeDtPermanentDrivingLicense = 132,
  diDocTypeDtPermitToReEnter = 133,
  diDocTypeDtProbationaryAutoLicense = 134,
  diDocTypeDtProbationaryDrivingLicenseUnder18 = 135,
  diDocTypeDtProbationaryDrivingLicenseUnder21 = 136,
  diDocTypeDtProbationaryVehicleSalespersonLicense = 137,
  diDocTypeDtProvisionalDrivingLicense = 138,
  diDocTypeDtProvisionalDrivingLicenseUnder18 = 139,
  diDocTypeDtProvisionalDrivingLicenseUnder21 = 140,
  diDocTypeDtProvisionalLicense = 141,
  diDocTypeDtProvisionalLicenseUnder18 = 142,
  diDocTypeDtProvisionalLicenseUnder21 = 143,
  diDocTypeDtPublicPassengerChauffeurLicense = 144,
  diDocTypeDtRacingAndGamingComissionCard = 145,
  diDocTypeDtRefugeeTravelDocument = 146,
  diDocTypeDtRenewalPermit = 147,
  diDocTypeDtRedtictedCommercialDrivingLicense = 148,
  diDocTypeDtRedtictedDrivingLicense = 149,
  diDocTypeDtRedtictedPermit = 150,
  diDocTypeDtSeasonalPermit = 151,
  diDocTypeDtSeasonalResidentIdentityCard = 152,
  diDocTypeDtSeniorCitizenIdentityCard = 153,
  diDocTypeDtSexOffender = 154,
  diDocTypeDtSocialSecurityCard = 155,
  diDocTypeDtTemporaryDrivingLicense = 156,
  diDocTypeDtTemporaryDrivingLicenseUnder18 = 157,
  diDocTypeDtTemporaryDrivingLicenseUnder21 = 158,
  diDocTypeDtTemporaryIdentityCard = 159,
  diDocTypeDtTemporaryIndtuctionPermitIdentityCard = 160,
  diDocTypeDtTemporaryIndtuctionPermitIdentityCardUnder18 = 161,
  diDocTypeDtTemporaryIndtuctionPermitIdentityCardUnder21 = 162,
  diDocTypeDtTemporaryVisitorDrivingLicense = 163,
  diDocTypeDtTemporaryVisitorDrivingLicenseUnder18 = 164,
  diDocTypeDtTemporaryVisitorDrivingLicenseUnder21 = 165,
  diDocTypeDtUniformedServicesIdentityCard = 166,
  diDocTypeDtVehicleSalespersonLicense = 167,
  diDocTypeDtWorkerIdentificationCredential = 168,
  diDocTypeDtCommercialDrivingLicenseNovice = 169,
  diDocTypeDtCommercialDrivingLicenseNoviceUnder18 = 170,
  diDocTypeDtCommercialDrivingLicenseNoviceUnder21 = 171,
  diDocTypeDtPassportCard = 172,
  diDocTypeDtPermanentResidentCard = 173,
  diDocTypeDtPersonalIdentificationVerification = 174,
  diDocTypeDtTemporaryOperatorLicense = 175,
  diDocTypeDtDrivingLicenseUnder19 = 176,
  diDocTypeDtIdentityCardUnder19 = 177,
  diDocTypeDtVisa = 178,
  diDocTypeDtTemporaryPassport = 179,
  diDocTypeDtVotingCard = 180,
  diDocTypeDtHealthCard = 181,
  diDocTypeDtCertificateOfCitizenship = 182,
  diDocTypeDtAddressCard = 183,
  diDocTypeDtAirportImmigrationCard = 184,
  diDocTypeDtAlienRegidtationCard = 185,
  diDocTypeDtAPEHCard = 186,
  diDocTypeDtCoupontoDrivingLicense = 187,
  diDocTypeDtCrewMemberCertificate = 188,
  diDocTypeDtDocumentForReturn = 189,
  diDocTypeDtECard = 190,
  diDocTypeDtEmploymentCard = 191,
  diDocTypeDtHKSARImmigrationForm = 192,
  diDocTypeDtImmigrantcard = 193,
  diDocTypeDtLabourCard = 194,
  diDocTypeDtLaissezPasser = 195,
  diDocTypeDtLawyerIdentityCertificate = 196,
  diDocTypeDtLicenseCard = 197,
  diDocTypeDtPassportStateless = 198,
  diDocTypeDtPassportChild = 199,
  diDocTypeDtPassportConsular = 200,
  diDocTypeDtPassportDiplomaticService = 201,
  diDocTypeDtPassportOfficial = 202,
  diDocTypeDtPassportProvisional = 203,
  diDocTypeDtPassportSpecial = 204,
  diDocTypeDtPermissiontotheLocalBorderTraffic = 205,
  diDocTypeDtSEDESOLCard = 207,
  diDocTypeDtSocialCard = 208,
  diDocTypeDtTBCard = 209,
  diDocTypeDtVehiclePassport = 210,
  diDocTypeDtWDocument = 211,
  diDocTypeDtDiplomaticIdentityCard = 212,
  diDocTypeDtConsularIdentityCard = 213,
  diDocTypeDtIncomeTaxCard = 214,
  diDocTypeDtResidencePermit = 215,
  diDocTypeDtDocumentOfIdentity = 216,
  diDocTypeDtBorderCrossingPermit = 217,
  diDocTypeDtPassportLimitedValidity = 218,
  diDocTypeDtSIMCard = 219,
  diDocTypeDtTaxCard = 220,
  diDocTypeDtCompanyCard = 221,
  diDocTypeDtDomesticPassport = 222,
  diDocTypeDtIdentityCertificate = 223,
  diDocTypeDtResidentIdCard = 224,
  diDocTypeDtArmedForcesIdentityCard = 225,
};

#if __has_attribute(external_source_symbol)
# pragma clang attribute pop
#endif
#pragma clang diagnostic pop

#endif
