import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type UpdateMemoryRequestBody = {
    /**
     * Unique identifier for the entity this memory is associated with (e.g., user ID, session ID, conversation ID)
     */
    entityId: string;
    /**
     * Flexible key-value pairs for custom filtering and categorization. Clients can add arbitrary string metadata to enable future filtering of memory access based on their specific needs (e.g., user segments, topics, contexts, or any custom taxonomy).
     */
    metadata: {
        [k: string]: string;
    };
};
export type UpdateMemoryRequest = {
    /**
     * The unique key identifier of the memory store
     */
    memoryStoreKey: string;
    /**
     * The unique identifier of the memory
     */
    memoryId: string;
    requestBody?: UpdateMemoryRequestBody | undefined;
};
/**
 * Memory successfully updated.
 */
export type UpdateMemoryResponseBody = {
    id: string;
    entityId: string;
    created: string;
    updated: string;
    createdById?: string | null | undefined;
    updatedById?: string | null | undefined;
    storeId: string;
    /**
     * Flexible key-value pairs for custom filtering and categorization. Clients can add arbitrary string metadata to enable future filtering of memory access based on their specific needs (e.g., user segments, topics, contexts, or any custom taxonomy).
     */
    metadata: {
        [k: string]: string;
    };
    workspaceId: string;
};
/** @internal */
export declare const UpdateMemoryRequestBody$inboundSchema: z.ZodType<UpdateMemoryRequestBody, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateMemoryRequestBody$Outbound = {
    entity_id: string;
    metadata: {
        [k: string]: string;
    };
};
/** @internal */
export declare const UpdateMemoryRequestBody$outboundSchema: z.ZodType<UpdateMemoryRequestBody$Outbound, z.ZodTypeDef, UpdateMemoryRequestBody>;
export declare function updateMemoryRequestBodyToJSON(updateMemoryRequestBody: UpdateMemoryRequestBody): string;
export declare function updateMemoryRequestBodyFromJSON(jsonString: string): SafeParseResult<UpdateMemoryRequestBody, SDKValidationError>;
/** @internal */
export declare const UpdateMemoryRequest$inboundSchema: z.ZodType<UpdateMemoryRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateMemoryRequest$Outbound = {
    memory_store_key: string;
    memory_id: string;
    RequestBody?: UpdateMemoryRequestBody$Outbound | undefined;
};
/** @internal */
export declare const UpdateMemoryRequest$outboundSchema: z.ZodType<UpdateMemoryRequest$Outbound, z.ZodTypeDef, UpdateMemoryRequest>;
export declare function updateMemoryRequestToJSON(updateMemoryRequest: UpdateMemoryRequest): string;
export declare function updateMemoryRequestFromJSON(jsonString: string): SafeParseResult<UpdateMemoryRequest, SDKValidationError>;
/** @internal */
export declare const UpdateMemoryResponseBody$inboundSchema: z.ZodType<UpdateMemoryResponseBody, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateMemoryResponseBody$Outbound = {
    _id: string;
    entity_id: string;
    created: string;
    updated: string;
    created_by_id?: string | null | undefined;
    updated_by_id?: string | null | undefined;
    store_id: string;
    metadata: {
        [k: string]: string;
    };
    workspace_id: string;
};
/** @internal */
export declare const UpdateMemoryResponseBody$outboundSchema: z.ZodType<UpdateMemoryResponseBody$Outbound, z.ZodTypeDef, UpdateMemoryResponseBody>;
export declare function updateMemoryResponseBodyToJSON(updateMemoryResponseBody: UpdateMemoryResponseBody): string;
export declare function updateMemoryResponseBodyFromJSON(jsonString: string): SafeParseResult<UpdateMemoryResponseBody, SDKValidationError>;
//# sourceMappingURL=updatememory.d.ts.map