export type CameraImageFormat = 'JPG' | 'PNG';

export type DetectionStatus =
  | 'OK'
  | 'OK_BUT_TOO_SMALL'
  | 'OK_BUT_BAD_ANGLES'
  | 'OK_BUT_BAD_ASPECT_RATIO'
  | 'OK_BARCODE'
  | 'OK_OFF_CENTER'
  | 'ERROR_NOTHING_DETECTED'
  | 'ERROR_TOO_DARK'
  | 'ERROR_TOO_NOISY';

export type Status = 'OK' | 'CANCELED';

export type ImageFilter =
  | 'NONE'
  | 'COLOR_ENHANCED'
  | 'GRAYSCALE'
  | 'PURE_GRAYSCALE'
  | 'BINARIZED'
  | 'COLOR_DOCUMENT'
  | 'PURE_BINARIZED'
  | 'BACKGROUND_CLEAN'
  | 'BLACK_AND_WHITE'
  | 'OTSU_BINARIZATION'
  | 'DEEP_BINARIZATION'
  | 'LOW_LIGHT_BINARIZATION'
  | 'EDGE_HIGHLIGHT'
  | 'LOW_LIGHT_BINARIZATION_2';

export type OCROutputFormat =
  | 'PLAIN_TEXT'
  | 'RESULT_JSON'
  | 'PDF_FILE'
  | 'FULL_OCR_RESULT';

export type PDFPageSize =
  | 'FROM_IMAGE'
  | 'A4'
  | 'FIXED_A4'
  | 'US_LETTER'
  | 'FIXED_US_LETTER'
  | 'AUTO_LOCALE'
  | 'AUTO';

export type MRZDocumentType =
  | 'PASSPORT'
  | 'TRAVEL_DOCUMENT'
  | 'VISA'
  | 'ID_CARD'
  | 'UNDEFINED';

export type LicenseStatus =
  | 'Okay'
  | 'Trial'
  | 'Expired'
  | 'WrongOS'
  | 'Corrupted'
  | 'AppIDMismatch'
  | 'NotSet'
  | 'Unknown';

export type HealthInsuranceCardValidationType =
  | 'NONE'
  | 'AUTO_ANY'
  | 'AUTO_SUPPORTED'
  | 'GERMAN'
  | 'AUSTRIAN';

export type TIFFCompression =
  | 'NONE'
  | 'CCITTRLE'
  | 'CCITTFAX3'
  | 'CCITT_T4'
  | 'CCITTFAX4'
  | 'CCITT_T6'
  | 'CCITTRLEW'
  | 'LZW'
  | 'PACKBITS'
  | 'DEFLATE'
  | 'ADOBE_DEFLATE';

export type FileEncryptionMode = 'AES128' | 'AES256';

export type MSIPlesseyChecksumAlgorithm =
  | 'None'
  | 'Mod10'
  | 'Mod11IBM'
  | 'Mod11NCR'
  | 'Mod1010'
  | 'Mod1110IBM'
  | 'Mod1110NCR';

export type EngineMode = 'NEXT_GEN' | 'LEGACY';
