@effortlessmotion/pdf-to-md
    Preparing search index...

    Interface ExtractResult

    extractText/extractOcr/pdfToMarkdown's common return shape.

    interface ExtractResult {
        markdown: string;
        report: Report;
        warnings: string[];
    }
    Index
    markdown: string
    report: Report

    per-document and per-page QA metrics — see Report (src/types.ts)

    warnings: string[]

    every notice also delivered incrementally via onWarning, collected here in full (hybrid pages, auto-OCR-fallback, empty OCR pages, sparse-retry)