import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type UpdateMemoryDocumentRequestBody = {
    /**
     * The content of the memory document (whitespace trimmed).
     */
    text?: string | undefined;
    /**
     * Flexible key-value pairs for custom filtering and categorization. Clients can add arbitrary string metadata to enable future filtering of memory documents based on their specific needs (e.g., document type, source, topic, relevance score, or any custom taxonomy).
     */
    metadata?: {
        [k: string]: string;
    } | undefined;
};
export type UpdateMemoryDocumentRequest = {
    /**
     * The unique key identifier of the memory store
     */
    memoryStoreKey: string;
    /**
     * The unique identifier of the memory
     */
    memoryEntityId: string;
    /**
     * The unique identifier of the document
     */
    documentId: string;
    requestBody?: UpdateMemoryDocumentRequestBody | undefined;
};
/**
 * Memory document successfully updated.
 */
export type UpdateMemoryDocumentResponseBody = {
    id: string;
    memoryId: string;
    storeId: string;
    /**
     * The content of the memory document (whitespace trimmed).
     */
    text: string;
    created: string;
    updated: string;
    createdById?: string | null | undefined;
    updatedById?: string | null | undefined;
    workspaceId: string;
    /**
     * Flexible key-value pairs for custom filtering and categorization. Clients can add arbitrary string metadata to enable future filtering of memory documents based on their specific needs (e.g., document type, source, topic, relevance score, or any custom taxonomy).
     */
    metadata?: {
        [k: string]: string;
    } | undefined;
};
/** @internal */
export type UpdateMemoryDocumentRequestBody$Outbound = {
    text?: string | undefined;
    metadata?: {
        [k: string]: string;
    } | undefined;
};
/** @internal */
export declare const UpdateMemoryDocumentRequestBody$outboundSchema: z.ZodType<UpdateMemoryDocumentRequestBody$Outbound, z.ZodTypeDef, UpdateMemoryDocumentRequestBody>;
export declare function updateMemoryDocumentRequestBodyToJSON(updateMemoryDocumentRequestBody: UpdateMemoryDocumentRequestBody): string;
/** @internal */
export type UpdateMemoryDocumentRequest$Outbound = {
    memory_store_key: string;
    memory_entity_id: string;
    document_id: string;
    RequestBody?: UpdateMemoryDocumentRequestBody$Outbound | undefined;
};
/** @internal */
export declare const UpdateMemoryDocumentRequest$outboundSchema: z.ZodType<UpdateMemoryDocumentRequest$Outbound, z.ZodTypeDef, UpdateMemoryDocumentRequest>;
export declare function updateMemoryDocumentRequestToJSON(updateMemoryDocumentRequest: UpdateMemoryDocumentRequest): string;
/** @internal */
export declare const UpdateMemoryDocumentResponseBody$inboundSchema: z.ZodType<UpdateMemoryDocumentResponseBody, z.ZodTypeDef, unknown>;
export declare function updateMemoryDocumentResponseBodyFromJSON(jsonString: string): SafeParseResult<UpdateMemoryDocumentResponseBody, SDKValidationError>;
//# sourceMappingURL=updatememorydocument.d.ts.map