/** * Agent Parser - Multi-step agentic workflow for complex document parsing */ import { VisionParser } from '../vision-parser'; import { VisionParserResult } from '../interfaces'; import { AgentParserConfig, AgentResult, AgentStrategy, AgentTask, AgentTool } from './agent-interfaces'; export declare class AgentParser { private parser; private config; private customTools; constructor(config?: AgentParserConfig); /** * Parse a PDF document using agent-based processing */ parseDocument(filePath: string, options?: { tasks?: Array; strategy?: AgentStrategy; }): Promise; /** * Parse a PDF with specific tasks */ parsePDF(pdfPath: string, options?: { tasks?: Array; strategy?: AgentStrategy; }): Promise; /** * Parse an image with agent-based processing */ parseImage(imagePath: string, options?: { tasks?: Array; strategy?: AgentStrategy; }): Promise; /** * Add a custom tool to the agent */ addTool(tool: AgentTool): void; /** * Get a tool by name (built-in or custom) */ getTool(name: string): AgentTool | undefined; /** * List all available tools */ listTools(): AgentTool[]; /** * Execute a single task on a parsed document */ executeTask(task: AgentTask | string, rawResult: VisionParserResult, input?: any): Promise; /** * Decompose a complex task into subtasks */ decomposeTask(taskDescription: string, _rawResult: VisionParserResult): Promise>; /** * Get the underlying vision parser */ getParser(): VisionParser; } //# sourceMappingURL=agent-parser.d.ts.map