import type { PDFDocumentProxy } from "pdfjs-dist"; /** * Detects whether a PDF is likely a scanned document (image-only, no text layer). * Samples the first `samplePages` pages and returns true if total text characters * are below a threshold, indicating no text layer is present. */ export declare function detectScannedPdf(pdfDoc: PDFDocumentProxy, samplePages?: number): Promise; //# sourceMappingURL=pdf-scanned-detect.d.ts.map