import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type UpdateMemoryRequestBody = {
    metadata?: {
        [k: string]: string;
    } | undefined;
};
export type UpdateMemoryRequest = {
    /**
     * The unique key identifier of the memory store
     */
    memoryStoreKey: string;
    /**
     * The unique identifier of the memory
     */
    memoryEntityId: string;
    requestBody?: UpdateMemoryRequestBody | undefined;
};
/**
 * Memory successfully updated.
 */
export type UpdateMemoryResponseBody = {
    /**
     * Unique identifier for the memory. This is automatically generated by the system.
     */
    id: string;
    /**
     * Customer provided entity ID for the memory. This is used to link the memory to a specific user/company/session/etc. Has to be unique within the memory store.
     *
     * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    entityId: string;
    created: string;
    updated: string;
    createdById?: string | null | undefined;
    updatedById?: string | null | undefined;
    storeId: string;
    workspaceId: string;
    /**
     * The number of memories in the entity
     */
    documentsCount: number;
};
/** @internal */
export type UpdateMemoryRequestBody$Outbound = {
    metadata?: {
        [k: string]: string;
    } | undefined;
};
/** @internal */
export declare const UpdateMemoryRequestBody$outboundSchema: z.ZodType<UpdateMemoryRequestBody$Outbound, z.ZodTypeDef, UpdateMemoryRequestBody>;
export declare function updateMemoryRequestBodyToJSON(updateMemoryRequestBody: UpdateMemoryRequestBody): string;
/** @internal */
export type UpdateMemoryRequest$Outbound = {
    memory_store_key: string;
    memory_entity_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;
/** @internal */
export declare const UpdateMemoryResponseBody$inboundSchema: z.ZodType<UpdateMemoryResponseBody, z.ZodTypeDef, unknown>;
export declare function updateMemoryResponseBodyFromJSON(jsonString: string): SafeParseResult<UpdateMemoryResponseBody, SDKValidationError>;
//# sourceMappingURL=updatememory.d.ts.map