import { z } from "zod"; export declare const EntitySchema: z.ZodObject<{ entity_id: z.ZodString; label: z.ZodString; type: z.ZodEnum<["Person", "Place", "Organization", "Event", "Object", "Concept"]>; }, "strip", z.ZodTypeAny, { type: "Person" | "Place" | "Organization" | "Event" | "Object" | "Concept"; entity_id: string; label: string; }, { type: "Person" | "Place" | "Organization" | "Event" | "Object" | "Concept"; entity_id: string; label: string; }>; export declare const FactRetrievalSchema: z.ZodObject<{ facts: z.ZodArray; entities: z.ZodArray; }, "strip", z.ZodTypeAny, { type: "Person" | "Place" | "Organization" | "Event" | "Object" | "Concept"; entity_id: string; label: string; }, { type: "Person" | "Place" | "Organization" | "Event" | "Object" | "Concept"; entity_id: string; label: string; }>, "many">; }, "strip", z.ZodTypeAny, { facts: string[]; entities: { type: "Person" | "Place" | "Organization" | "Event" | "Object" | "Concept"; entity_id: string; label: string; }[]; }, { facts: string[]; entities: { type: "Person" | "Place" | "Organization" | "Event" | "Object" | "Concept"; entity_id: string; label: string; }[]; }>; export declare const MemoryUpdateSchema: z.ZodObject<{ memory: z.ZodArray>; event: z.ZodEnum<["ADD", "UPDATE", "DELETE", "NONE"]>; old_memory: z.ZodOptional; }, "strip", z.ZodTypeAny, { text: string; id: string; event: "ADD" | "UPDATE" | "DELETE" | "NONE"; entity_ids?: string[] | undefined; old_memory?: string | undefined; }, { text: string; id: string; event: "ADD" | "UPDATE" | "DELETE" | "NONE"; entity_ids?: string[] | undefined; old_memory?: string | undefined; }>, "many">; entities: z.ZodArray; event: z.ZodEnum<["ADD", "UPDATE", "DELETE", "NONE"]>; }, "strip", z.ZodTypeAny, { type: "Person" | "Place" | "Organization" | "Event" | "Object" | "Concept"; entity_id: string; label: string; event: "ADD" | "UPDATE" | "DELETE" | "NONE"; }, { type: "Person" | "Place" | "Organization" | "Event" | "Object" | "Concept"; entity_id: string; label: string; event: "ADD" | "UPDATE" | "DELETE" | "NONE"; }>, "many">; }, "strip", z.ZodTypeAny, { memory: { text: string; id: string; event: "ADD" | "UPDATE" | "DELETE" | "NONE"; entity_ids?: string[] | undefined; old_memory?: string | undefined; }[]; entities: { type: "Person" | "Place" | "Organization" | "Event" | "Object" | "Concept"; entity_id: string; label: string; event: "ADD" | "UPDATE" | "DELETE" | "NONE"; }[]; }, { memory: { text: string; id: string; event: "ADD" | "UPDATE" | "DELETE" | "NONE"; entity_ids?: string[] | undefined; old_memory?: string | undefined; }[]; entities: { type: "Person" | "Place" | "Organization" | "Event" | "Object" | "Concept"; entity_id: string; label: string; event: "ADD" | "UPDATE" | "DELETE" | "NONE"; }[]; }>; export declare function getFactRetrievalMessages(parsedMessages: string, allEntities?: Array<{ entity_id: string; label: string; type: string; }>): [string, string]; export declare function getUpdateMemoryMessages(retrievedOldMemory: Array<{ id: string; text: string; entity_ids?: string[]; }>, newRetrievedFacts: string[], extractedEntities: Array<{ entity_id: string; label: string; type: string; }>, existingEntities: Array<{ entity_id: string; label: string; type: string; }>): string; export declare function parseMessages(messages: string[]): string; export declare function removeCodeBlocks(text: string): string;