/**
 * Extracts text from a PDF buffer and returns it as markdown.
 * Preserves paragraph breaks. Returns empty string on failure.
 */
export declare function extractPdfToMarkdown(data: Buffer): Promise<string>;
/**
 * Extracts text from a DOCX buffer and returns it as markdown.
 * Uses mammoth to convert to HTML, then converts HTML to markdown.
 * Returns empty string on failure.
 */
export declare function extractDocxToMarkdown(data: Buffer): Promise<string>;
