/** * PDF Format Handler * * Reads PDFs as markdown and writes markdown to PDFs. * Handles embedded images and metadata extraction. */ export interface PDFReadOptions { asMarkdown?: boolean; includeImages?: boolean; extractMetadata?: boolean; } export interface PDFWriteOptions { title?: string; author?: string; subject?: string; keywords?: string[]; fontSize?: number; margins?: { top: number; bottom: number; left: number; right: number; }; } export interface PDFContent { text: string; metadata?: { title?: string; author?: string; subject?: string; keywords?: string; creator?: string; producer?: string; creationDate?: Date; modificationDate?: Date; pageCount?: number; }; images?: Array<{ page: number; data: Buffer; format: string; }>; } /** * Read PDF file and convert to markdown with optional image extraction */ export declare function readPDF(filePath: string, options?: PDFReadOptions): Promise; /** * Create PDF from markdown content */ export declare function writePDF(filePath: string, content: string, options?: PDFWriteOptions): Promise; /** * Get PDF metadata without reading full content */ export declare function getPDFMetadata(filePath: string): Promise; //# sourceMappingURL=pdf.d.ts.map