UNPKG

@xynehq/jaf

Version:

Juspay Agent Framework - A purely functional agent framework with immutable state and composable tools

23 lines 745 B
import type { Attachment } from '../core/types.js'; export interface ProcessedDocument { content: string; metadata?: { pages?: number; sheets?: string[]; files?: string[]; [key: string]: any; }; } /** * Extract text content from various document formats */ export declare function extractDocumentContent(attachment: Attachment): Promise<ProcessedDocument>; /** * Check if a MIME type is supported for content extraction */ export declare function isDocumentSupported(mimeType?: string): boolean; /** * Get a human-readable description of what content will be extracted */ export declare function getDocumentDescription(mimeType?: string): string; //# sourceMappingURL=document-processor.d.ts.map