/**
 * PDF text extraction via the optional `unpdf` dependency (bundles pdf.js,
 * zero-config). Lazy-loaded behind a function so the base install works without
 * it; callers degrade to an install-hint string when it is absent.
 */
/** Raised when the optional `unpdf` dependency is not installed. */
export declare class PdfExtractorUnavailable extends Error {
    constructor(message: string);
}
/**
 * Extract merged page text from a PDF buffer. Returns the concatenated text and
 * total page count. Throws `PdfExtractorUnavailable` if `unpdf` is not present.
 */
export declare function extractPdfText(bytes: Uint8Array): Promise<{
    text: string;
    pages: number;
}>;
//# sourceMappingURL=pdf-extract.d.ts.map