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
     */
    text: string;
    /**
     * Flexible key-value pairs for custom filtering and categorization of documents within a memory collection. Clients can add arbitrary string metadata to enable future filtering based on their specific needs (e.g., document type, source, topic, relevance score, or any custom taxonomy). This enables powerful querying and retrieval strategies.
     */
    metadata: {
        [k: string]: string;
    };
};
export type UpdateMemoryDocumentRequest = {
    /**
     * The unique key identifier of the memory store
     */
    memoryStoreKey: string;
    /**
     * The unique identifier of the memory
     */
    memoryId: 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;
    text: string;
    created: string;
    updated: string;
    createdById?: string | undefined;
    updatedById?: string | 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 declare const UpdateMemoryDocumentRequestBody$inboundSchema: z.ZodType<UpdateMemoryDocumentRequestBody, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateMemoryDocumentRequestBody$Outbound = {
    text: string;
    metadata: {
        [k: string]: string;
    };
};
/** @internal */
export declare const UpdateMemoryDocumentRequestBody$outboundSchema: z.ZodType<UpdateMemoryDocumentRequestBody$Outbound, z.ZodTypeDef, UpdateMemoryDocumentRequestBody>;
export declare function updateMemoryDocumentRequestBodyToJSON(updateMemoryDocumentRequestBody: UpdateMemoryDocumentRequestBody): string;
export declare function updateMemoryDocumentRequestBodyFromJSON(jsonString: string): SafeParseResult<UpdateMemoryDocumentRequestBody, SDKValidationError>;
/** @internal */
export declare const UpdateMemoryDocumentRequest$inboundSchema: z.ZodType<UpdateMemoryDocumentRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateMemoryDocumentRequest$Outbound = {
    memory_store_key: string;
    memory_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;
export declare function updateMemoryDocumentRequestFromJSON(jsonString: string): SafeParseResult<UpdateMemoryDocumentRequest, SDKValidationError>;
/** @internal */
export declare const UpdateMemoryDocumentResponseBody$inboundSchema: z.ZodType<UpdateMemoryDocumentResponseBody, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateMemoryDocumentResponseBody$Outbound = {
    _id: string;
    memory_id: string;
    store_id: string;
    text: string;
    created: string;
    updated: string;
    created_by_id?: string | undefined;
    updated_by_id?: string | undefined;
    workspace_id: string;
    metadata?: {
        [k: string]: string;
    } | undefined;
};
/** @internal */
export declare const UpdateMemoryDocumentResponseBody$outboundSchema: z.ZodType<UpdateMemoryDocumentResponseBody$Outbound, z.ZodTypeDef, UpdateMemoryDocumentResponseBody>;
export declare function updateMemoryDocumentResponseBodyToJSON(updateMemoryDocumentResponseBody: UpdateMemoryDocumentResponseBody): string;
export declare function updateMemoryDocumentResponseBodyFromJSON(jsonString: string): SafeParseResult<UpdateMemoryDocumentResponseBody, SDKValidationError>;
//# sourceMappingURL=updatememorydocument.d.ts.map