export interface PdfExtractOptions { maxPages?: number; } export interface PdfExtractResult { text: string; pageCount: number; parsedPages: number; truncated: boolean; } export declare class PdfExtractorMissingError extends Error { constructor(); } export declare function isPdfExtractorAvailable(): Promise; export declare function _resetPdfjsCache(): void; export declare function extractPdfText(bytes: Uint8Array, opts?: PdfExtractOptions): Promise; interface PdfTextItem { str?: string; hasEOL?: boolean; } export declare function joinTextItems(items: PdfTextItem[]): string; export declare function dedupeRunningHeadersFooters(pages: string[]): string[]; export declare function looksLikePdf(args: { url?: string; finalUrl?: string; contentType?: string; }): boolean; export {}; //# sourceMappingURL=pdf.d.ts.map