import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AgentCompactionContextManagement, AgentCompactionContextManagement$Outbound } from "./agentcompactioncontextmanagement.js"; export type CreateAgentRunRequestInput2 = { type?: string | undefined; additionalProperties?: { [k: string]: any; } | undefined; }; export type CreateAgentRunRequestInput = string | Array; export type CreateAgentRunRequest = { input: string | Array; /** * Arbitrary JSON value. */ conversation?: any | undefined; previousResponseId?: string | undefined; /** * Context management strategies to apply during agent-run response generation. Supports compaction, which summarizes older conversation history when the context exceeds a token threshold. */ contextManagement?: Array | undefined; metadata?: { [k: string]: string; } | undefined; }; /** @internal */ export declare const CreateAgentRunRequestInput2$inboundSchema: z.ZodType; /** @internal */ export type CreateAgentRunRequestInput2$Outbound = { type?: string | undefined; [additionalProperties: string]: unknown; }; /** @internal */ export declare const CreateAgentRunRequestInput2$outboundSchema: z.ZodType; export declare function createAgentRunRequestInput2ToJSON(createAgentRunRequestInput2: CreateAgentRunRequestInput2): string; export declare function createAgentRunRequestInput2FromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateAgentRunRequestInput$inboundSchema: z.ZodType; /** @internal */ export type CreateAgentRunRequestInput$Outbound = string | Array; /** @internal */ export declare const CreateAgentRunRequestInput$outboundSchema: z.ZodType; export declare function createAgentRunRequestInputToJSON(createAgentRunRequestInput: CreateAgentRunRequestInput): string; export declare function createAgentRunRequestInputFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateAgentRunRequest$inboundSchema: z.ZodType; /** @internal */ export type CreateAgentRunRequest$Outbound = { input: string | Array; conversation?: any | undefined; previous_response_id?: string | undefined; context_management?: Array | undefined; metadata?: { [k: string]: string; } | undefined; }; /** @internal */ export declare const CreateAgentRunRequest$outboundSchema: z.ZodType; export declare function createAgentRunRequestToJSON(createAgentRunRequest: CreateAgentRunRequest): string; export declare function createAgentRunRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createagentrunrequest.d.ts.map