UNPKG

@regulaforensics/document-reader

Version:

This is an npm module for Regula Document Reader SDK. It allows you to read various kinds of identification documents using your phone's camera.

16 lines (13 loc) 459 B
/** * Class contains info about database preparation progress. */ export declare class PrepareProgress { readonly downloadedBytes: number; readonly totalBytes: number; readonly progress: number; constructor(downloadedBytes: number, totalBytes: number, progress: number); } /** * Callback for receiving notifications on Documents Database preparation. */ export type DocumentReaderPrepareCompletion = (progress: PrepareProgress) => void;