import type { MemoryConfigInternal } from '@mastra/core/memory'; /** * Deep merges two objects, with special handling for null values (delete) and arrays (replace). * - Object properties are recursively merged * - null values in the update will delete the corresponding property * - Arrays are replaced entirely (not merged element-by-element) * - Primitive values are overwritten */ export declare function deepMergeWorkingMemory(existing: Record | null | undefined, update: Record | null | undefined): Record; export declare const updateWorkingMemoryTool: (memoryConfig?: MemoryConfigInternal) => import("@mastra/core/tools").Tool<{ memory: any; }, unknown, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext, "update-working-memory", unknown>; export declare const __experimental_updateWorkingMemoryToolVNext: (config: MemoryConfigInternal) => import("@mastra/core/tools").Tool<{ newMemory?: string | undefined; searchString?: string | undefined; updateReason?: "append-new-memory" | "clarify-existing-memory" | "replace-irrelevant-memory" | undefined; }, unknown, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext, "update-working-memory", unknown>; //# sourceMappingURL=working-memory.d.ts.map