/** * PDF Content Handler * * Handles application/pdf content type. Extracts text and metadata from PDF files, * passes all text through the injection pattern registry, and returns sanitized plain text. * * What it handles: * - PDF body text (full document) * - PDF metadata: title, author, subject, keywords, creator, producer * - Annotation text * - Form field values * * What it strips: * - Embedded binary objects (fonts, images, attachments) * - Returns only extracted text, not original binary * * What it passes through: * - All extracted text after injection pattern sanitization */ import type { HandlerResult } from './types.js'; /** * Handle PDF content * * @param content - Raw PDF binary data as Buffer or string * @param mimeType - Original MIME type * @returns Sanitized handler result */ export declare function handlePdf(content: string | Buffer, mimeType: string): Promise; //# sourceMappingURL=pdf-handler.d.ts.map