import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CodeInterpreterToolCall, CodeInterpreterToolCall$Outbound } from "./codeinterpretertoolcall.js"; import { ComputerToolCall, ComputerToolCall$Outbound } from "./computertoolcall.js"; import { ComputerToolCallOutput, ComputerToolCallOutput$Outbound } from "./computertoolcalloutput.js"; import { CustomToolCall, CustomToolCall$Outbound } from "./customtoolcall.js"; import { CustomToolCallOutput, CustomToolCallOutput$Outbound } from "./customtoolcalloutput.js"; import { FileSearchToolCall, FileSearchToolCall$Outbound } from "./filesearchtoolcall.js"; import { FunctionToolCall, FunctionToolCall$Outbound } from "./functiontoolcall.js"; import { FunctionToolCallOutput, FunctionToolCallOutput$Outbound } from "./functiontoolcalloutput.js"; import { ImageGenerationCall, ImageGenerationCall$Outbound } from "./imagegenerationcall.js"; import { InputMessage, InputMessage$Outbound } from "./inputmessage.js"; import { ItemReference, ItemReference$Outbound } from "./itemreference.js"; import { LocalShellCall, LocalShellCall$Outbound } from "./localshellcall.js"; import { LocalShellCallOutput, LocalShellCallOutput$Outbound } from "./localshellcalloutput.js"; import { MCPApprovalRequest, MCPApprovalRequest$Outbound } from "./mcpapprovalrequest.js"; import { MCPApprovalResponse, MCPApprovalResponse$Outbound } from "./mcpapprovalresponse.js"; import { MCPListTools, MCPListTools$Outbound } from "./mcplisttools.js"; import { MCPToolCall, MCPToolCall$Outbound } from "./mcptoolcall.js"; import { OutputAudioItem, OutputAudioItem$Outbound } from "./outputaudioitem.js"; import { OutputMessage, OutputMessage$Outbound } from "./outputmessage.js"; import { Reasoning, Reasoning$Outbound } from "./reasoning.js"; import { ResponseCompactionItem, ResponseCompactionItem$Outbound } from "./responsecompactionitem.js"; import { ShellCall, ShellCall$Outbound } from "./shellcall.js"; import { ShellCallOutput, ShellCallOutput$Outbound } from "./shellcalloutput.js"; import { WebSearchToolCall, WebSearchToolCall$Outbound } from "./websearchtoolcall.js"; export type Item = ComputerToolCall | CodeInterpreterToolCall | OutputMessage | OutputAudioItem | LocalShellCall | ShellCall | MCPApprovalRequest | MCPToolCall | FileSearchToolCall | WebSearchToolCall | FunctionToolCall | ImageGenerationCall | ShellCallOutput | MCPListTools | CustomToolCall | ComputerToolCallOutput | FunctionToolCallOutput | Reasoning | LocalShellCallOutput | MCPApprovalResponse | CustomToolCallOutput | ResponseCompactionItem | InputMessage | ItemReference; /** @internal */ export declare const Item$inboundSchema: z.ZodType; /** @internal */ export type Item$Outbound = ComputerToolCall$Outbound | CodeInterpreterToolCall$Outbound | OutputMessage$Outbound | OutputAudioItem$Outbound | LocalShellCall$Outbound | ShellCall$Outbound | MCPApprovalRequest$Outbound | MCPToolCall$Outbound | FileSearchToolCall$Outbound | WebSearchToolCall$Outbound | FunctionToolCall$Outbound | ImageGenerationCall$Outbound | ShellCallOutput$Outbound | MCPListTools$Outbound | CustomToolCall$Outbound | ComputerToolCallOutput$Outbound | FunctionToolCallOutput$Outbound | Reasoning$Outbound | LocalShellCallOutput$Outbound | MCPApprovalResponse$Outbound | CustomToolCallOutput$Outbound | ResponseCompactionItem$Outbound | InputMessage$Outbound | ItemReference$Outbound; /** @internal */ export declare const Item$outboundSchema: z.ZodType; export declare function itemToJSON(item: Item): string; export declare function itemFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=item.d.ts.map