import { z } from 'zod';
import { MemoryStorage } from '../../storage/storage.js';
/**
 * Update an existing memory
 *
 * @param storage - Memory storage instance
 * @returns MCP tool handler for updating memories
 */
export declare function createUpdateMemoryTool(storage: MemoryStorage): {
    name: string;
    description: string;
    inputSchema: {
        id: z.ZodString;
        title: z.ZodOptional<z.ZodString>;
        content: z.ZodOptional<z.ZodString>;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
        category: z.ZodOptional<z.ZodString>;
    };
    handler: ({ id, title, content, metadata, category }: {
        id: string;
        title?: string;
        content?: string;
        metadata?: Record<string, any>;
        category?: string;
    }) => Promise<{
        content: {
            type: "text";
            text: string;
        }[];
        isError: boolean;
    } | {
        content: {
            type: "text";
            text: string;
        }[];
        isError?: undefined;
    }>;
};
