import type { MemoryProvider, ToolHandler } from '@polka-codes/core';
import { z } from 'zod';
export declare const toolInfo: {
    readonly name: "updateMemory";
    readonly description: "Appends, replaces, or removes content from a memory topic. Use \"append\" to add to existing content, \"replace\" to overwrite entirely, or \"remove\" to delete a topic. Memory persists across tool calls within a workflow.";
    readonly parameters: z.ZodObject<{
        operation: z.ZodEnum<{
            replace: "replace";
            append: "append";
            remove: "remove";
        }>;
        topic: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    }, z.core.$strip>;
};
export declare const handler: ToolHandler<typeof toolInfo, MemoryProvider>;
declare const _default: {
    handler: ToolHandler<{
        readonly name: "updateMemory";
        readonly description: "Appends, replaces, or removes content from a memory topic. Use \"append\" to add to existing content, \"replace\" to overwrite entirely, or \"remove\" to delete a topic. Memory persists across tool calls within a workflow.";
        readonly parameters: z.ZodObject<{
            operation: z.ZodEnum<{
                replace: "replace";
                append: "append";
                remove: "remove";
            }>;
            topic: z.ZodOptional<z.ZodNullable<z.ZodString>>;
            content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        }, z.core.$strip>;
    }, MemoryProvider>;
    name: "updateMemory";
    description: "Appends, replaces, or removes content from a memory topic. Use \"append\" to add to existing content, \"replace\" to overwrite entirely, or \"remove\" to delete a topic. Memory persists across tool calls within a workflow.";
    parameters: z.ZodObject<{
        operation: z.ZodEnum<{
            replace: "replace";
            append: "append";
            remove: "remove";
        }>;
        topic: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    }, z.core.$strip>;
};
export default _default;
//# sourceMappingURL=updateMemory.d.ts.map