import DocumentScanner, { type ScanDocumentOptions, type ScanDocumentResponse, } from './NativeDocumentScanner'; export type { ScanDocumentOptions, ScanDocumentResponse, } from './NativeDocumentScanner'; export { ResponseType, ScanDocumentResponseStatus, } from './NativeDocumentScanner'; export default { /** * Opens the camera, and starts the document scan */ scanDocument( options: ScanDocumentOptions = {} ): Promise { return DocumentScanner.scanDocument(options); }, };