import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type UpdatePartitionParamsMetadataSchema = string | number | boolean | Array | { [k: string]: any; }; export type UpdatePartitionParams = { /** * Enable context-aware descriptions for the partition. */ contextAware?: boolean | null | undefined; /** * Description of the partition. */ description?: string | null | undefined; /** * Metadata schema for the partition. This is an optional subset of the metadata of documents in the partition, defined as JSON Schema, that can be used in filter generatation. Providing detailed descriptions of the fields in the schema can be helpful for LLMs generating filters dynamically. */ metadataSchema?: { [k: string]: string | number | boolean | Array | { [k: string]: any; }; } | null | undefined; }; /** @internal */ export declare const UpdatePartitionParamsMetadataSchema$inboundSchema: z.ZodType; /** @internal */ export type UpdatePartitionParamsMetadataSchema$Outbound = string | number | boolean | Array | { [k: string]: any; }; /** @internal */ export declare const UpdatePartitionParamsMetadataSchema$outboundSchema: z.ZodType; export declare function updatePartitionParamsMetadataSchemaToJSON(updatePartitionParamsMetadataSchema: UpdatePartitionParamsMetadataSchema): string; export declare function updatePartitionParamsMetadataSchemaFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const UpdatePartitionParams$inboundSchema: z.ZodType; /** @internal */ export type UpdatePartitionParams$Outbound = { context_aware?: boolean | null | undefined; description?: string | null | undefined; metadata_schema?: { [k: string]: string | number | boolean | Array | { [k: string]: any; }; } | null | undefined; }; /** @internal */ export declare const UpdatePartitionParams$outboundSchema: z.ZodType; export declare function updatePartitionParamsToJSON(updatePartitionParams: UpdatePartitionParams): string; export declare function updatePartitionParamsFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=updatepartitionparams.d.ts.map