UNPKG

@wonderwhy-er/desktop-commander

Version:

MCP server for terminal operations and file editing

14 lines (13 loc) 499 B
import { FileResult } from './filesystem.js'; export declare enum PDFOutputFormat { TEXT = "text", MARKDOWN = "markdown", HTML = "html" } /** * Reads a PDF file and returns its content in the specified format * @param filePath Path to the PDF file * @param outputFormat Desired output format (text, markdown, or html) * @returns FileResult object with the parsed content */ export declare function readPDFFile(filePath: string, outputFormat?: PDFOutputFormat): Promise<FileResult>;