import { Tool } from '@n8n/agents/tool'; import { z } from 'zod'; import type { AgentChatAttachmentService } from '../agent-chat-attachment.service'; export declare const READ_BINARY_DATA_TOOL_NAME = "read_binary_data"; export declare const MAX_TEXT_FILE_BYTES = 200000; export declare function createReadBinaryDataTool({ projectId, provider, attachmentService, }: { projectId: string; provider: string; attachmentService: AgentChatAttachmentService; }): Tool, z.ZodObject<{ fileId: z.ZodString; fileName: z.ZodString; mimeType: z.ZodString; sizeBytes: z.ZodNumber; text: z.ZodOptional; }, "strip", z.ZodTypeAny, { fileId: string; fileName: string; mimeType: string; sizeBytes: number; text?: string | undefined; }, { fileId: string; fileName: string; mimeType: string; sizeBytes: number; text?: string | undefined; }>, undefined, undefined>;