File/Blob or whole PDF bytes; caller-owned buffers are copied before worker transfer.
Password, assets, resource limits and a borrowed OCR provider.
A document to close in a finally block. Closing it never closes the supplied OCR provider.
PdfExtractError for invalid/password-protected input, invalid options, cancellation or resource limits.
Open a whole PDF and return a caller-owned document handle.