import type { Buffer } from "node:buffer";
import { type IAgentRuntime, type Memory, type UUID } from "../../types";
export declare function processFragmentsSynchronously({ runtime, documentId, fullDocumentText, agentId, contentType, roomId, entityId, worldId, documentTitle, }: {
    runtime: IAgentRuntime;
    documentId: UUID;
    fullDocumentText: string;
    agentId: UUID;
    contentType?: string;
    roomId?: UUID;
    entityId?: UUID;
    worldId?: UUID;
    documentTitle?: string;
}): Promise<number>;
export declare function extractTextFromDocument(fileBuffer: Buffer, contentType: string, originalFilename: string): Promise<string>;
export declare function createDocumentMemory({ text, agentId, clientDocumentId, originalFilename, contentType, worldId, fileSize, documentId, customMetadata, }: {
    text: string;
    agentId: UUID;
    clientDocumentId: UUID;
    originalFilename: string;
    contentType: string;
    worldId: UUID;
    fileSize: number;
    documentId?: UUID;
    customMetadata?: Record<string, unknown>;
}): Memory;
//# sourceMappingURL=document-processor.d.ts.map