/** * Downloads a PDF document by creating a temporary anchor element. * * Retrieves the raw binary data from the pdf.js document proxy, wraps it in a * `File` object, creates an object URL, and triggers a download via a synthetic click. * The object URL is revoked after 40 seconds to free memory. * * @param pdfDocument - The pdf.js document proxy obtained from `pdfjsLib.getDocument()`. * @param downloadName - The filename to use for the downloaded file. */ declare const _default: (pdfDocument: any, downloadName: string) => Promise; export default _default;