import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export declare const AgentCompactionContextManagementType: { readonly Compaction: "compaction"; }; export type AgentCompactionContextManagementType = ClosedEnum; export type AgentCompactionContextManagement = { type: AgentCompactionContextManagementType; /** * The token threshold above which conversation context should be compacted. Must be at least 1000. */ compactThreshold: number; }; /** @internal */ export declare const AgentCompactionContextManagementType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AgentCompactionContextManagementType$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AgentCompactionContextManagement$inboundSchema: z.ZodType; /** @internal */ export type AgentCompactionContextManagement$Outbound = { type: string; compact_threshold: number; }; /** @internal */ export declare const AgentCompactionContextManagement$outboundSchema: z.ZodType; export declare function agentCompactionContextManagementToJSON(agentCompactionContextManagement: AgentCompactionContextManagement): string; export declare function agentCompactionContextManagementFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=agentcompactioncontextmanagement.d.ts.map