import type { Tool } from '../types';
export declare const MAX_PDF_BYTES = 50000000;
export interface PdfExtractOptions {
    startPage?: number;
    endPage?: number;
    maxChars?: number;
    ocr?: boolean;
}
export interface PdfExtractResult {
    text: string;
    pageCount: number;
    startPage: number;
    endPage: number;
    truncated: boolean;
    ocrUsed: boolean;
    ocrError?: string;
}
export interface PdfDocumentMetadata {
    pageCount: number;
    title?: string;
    author?: string;
    subject?: string;
    keywords?: string;
    creator?: string;
    producer?: string;
    creationDate?: string;
    modificationDate?: string;
    pdfVersion?: string;
    encrypted: boolean;
}
export declare const PdfReadTool: Tool;
export declare const PdfMetadataTool: Tool;
export declare function extractPdfText(data: Buffer, options?: PdfExtractOptions, sourcePath?: string): Promise<PdfExtractResult>;
export declare function readPdfMetadata(data: Buffer): Promise<PdfDocumentMetadata>;
export interface PdfPageChunk {
    pageNum: number;
    text: string;
}
export declare function iteratePdfPages(data: Buffer, options?: {
    startPage?: number;
    endPage?: number;
}): AsyncGenerator<PdfPageChunk>;
export declare const PdfRenderPageTool: Tool;
export declare const PdfExtractTablesTool: Tool;
export declare function extractPdfPageTableCsv(data: Buffer, pageNum: number, options: {
    colTol: number;
    rowTol: number;
}): Promise<string>;
//# sourceMappingURL=pdfTool.d.ts.map