import { McpTool, BaseMcpToolOutput } from '@sylphlab/mcp-core'; import { z } from 'zod'; declare const getTextToolInputSchema: z.ZodObject<{ items: z.ZodArray; filePath: z.ZodString; }, "strip", z.ZodTypeAny, { filePath: string; id?: string | undefined; }, { filePath: string; id?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { items: { filePath: string; id?: string | undefined; }[]; }, { items: { filePath: string; id?: string | undefined; }[]; }>; /** * Extracts text content from a PDF buffer using MuPDF. * @param pdfBuffer Buffer containing the PDF data. * @returns A promise resolving to the extracted text content. * @throws If PDF parsing or text extraction fails. */ declare function extractPdfText(pdfBuffer: Buffer): Promise; type GetTextToolInput = z.infer; interface GetTextResultItem { id?: string; success: boolean; result?: string; error?: string; suggestion?: string; } interface GetTextToolOutput extends BaseMcpToolOutput { results: GetTextResultItem[]; error?: string; } declare const getTextTool: McpTool; filePath: z.ZodString; }, "strip", z.ZodTypeAny, { filePath: string; id?: string | undefined; }, { filePath: string; id?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { items: { filePath: string; id?: string | undefined; }[]; }, { items: { filePath: string; id?: string | undefined; }[]; }>, BaseMcpToolOutput>; export { type GetTextToolInput, type GetTextToolOutput, extractPdfText, getTextTool, getTextToolInputSchema };