import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { PartitionLimits, PartitionLimits$Outbound } from "./partitionlimits.js"; export type MetadataSchema = string | number | boolean | Array | { [k: string]: any; }; export type Partition = { name: string; isDefault: boolean; /** * Timestamp when the partition exceeded its limits, if applicable. */ limitExceededAt?: Date | null | undefined; description: string | null; contextAware: boolean; metadataSchema: { [k: string]: string | number | boolean | Array | { [k: string]: any; }; } | null; limits: PartitionLimits; }; /** @internal */ export declare const MetadataSchema$inboundSchema: z.ZodType; /** @internal */ export type MetadataSchema$Outbound = string | number | boolean | Array | { [k: string]: any; }; /** @internal */ export declare const MetadataSchema$outboundSchema: z.ZodType; export declare function metadataSchemaToJSON(metadataSchema: MetadataSchema): string; export declare function metadataSchemaFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Partition$inboundSchema: z.ZodType; /** @internal */ export type Partition$Outbound = { name: string; is_default: boolean; limit_exceeded_at?: string | null | undefined; description: string | null; context_aware: boolean; metadata_schema: { [k: string]: string | number | boolean | Array | { [k: string]: any; }; } | null; limits: PartitionLimits$Outbound; }; /** @internal */ export declare const Partition$outboundSchema: z.ZodType; export declare function partitionToJSON(partition: Partition): string; export declare function partitionFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=partition.d.ts.map