UNPKG

@openhealthnz-credentials/pdf-image-qr-scanner

Version:

Library to scan user-uploaded PDF's or images locally and reliably for QR codes using jsQR.

14 lines 454 B
/** * pdf-image-qr-scanner * Library to scan user-uploaded PDF's or images locally and reliably for QR codes using jsQR. * @since 0.0.0 */ /** * Scan PDF file and return QR code data. * * @param {File} FileHandle - File handle of the PDF/Image file to scan. * @returns {Promise<string?>} QR Code Data. * @since 0.0.0 */ export declare function scanFile(FileHandle: File): Promise<string | null>; //# sourceMappingURL=index.d.ts.map