import type { Document } from '@langchain/core/documents'; import type { INodeExecutionData } from 'n8n-workflow'; import { N8nBinaryLoader } from '../../../utils/N8nBinaryLoader'; import { N8nJsonLoader } from '../../../utils/N8nJsonLoader'; export declare function processDocuments(documentInput: N8nJsonLoader | N8nBinaryLoader | Array>>, inputItems: INodeExecutionData[]): Promise<{ processedDocuments: Document>[]; serializedDocuments: { json: { metadata: Record; pageContent: string; }; }[]; }>; export declare function processDocument(documentInput: N8nJsonLoader | N8nBinaryLoader | Array>>, inputItem: INodeExecutionData, itemIndex: number): Promise<{ processedDocuments: Document>[]; serializedDocuments: { json: { metadata: Record; pageContent: string; }; pairedItem: { item: number; }; }[]; }>;