import * as z from "zod/v4"; import { ClosedEnum, OpenEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; export declare const ErrorTypeHTTPError: { readonly HttpError: "http_error"; }; export type ErrorTypeHTTPError = ClosedEnum; export type ErrorHTTPError = { code: number; message: string; type: ErrorTypeHTTPError; }; export declare const ErrorTypeMcpToolExecutionError: { readonly McpToolExecutionError: "mcp_tool_execution_error"; }; export type ErrorTypeMcpToolExecutionError = ClosedEnum; export type ErrorMcpToolExecutionError = { content?: any | undefined; type: ErrorTypeMcpToolExecutionError; }; export declare const ErrorTypeMcpProtocolError: { readonly McpProtocolError: "mcp_protocol_error"; }; export type ErrorTypeMcpProtocolError = ClosedEnum; export type ErrorMcpProtocolError = { code: number; message: string; type: ErrorTypeMcpProtocolError; }; export type ErrorT = ErrorMcpProtocolError | ErrorHTTPError | ErrorMcpToolExecutionError | string; export declare const OutputItemMcpCallStatus: { readonly InProgress: "in_progress"; readonly Completed: "completed"; readonly Incomplete: "incomplete"; readonly Calling: "calling"; readonly Failed: "failed"; }; export type OutputItemMcpCallStatus = OpenEnum; export type OutputItemMcpCall = { approvalRequestId?: string | null | undefined; arguments: string; error?: ErrorMcpProtocolError | ErrorHTTPError | ErrorMcpToolExecutionError | string | null | undefined; id: string; name: string; output?: string | null | undefined; serverLabel: string; status?: OutputItemMcpCallStatus | undefined; type: "mcp_call"; }; /** @internal */ export declare const ErrorTypeHTTPError$inboundSchema: z.ZodEnum; /** @internal */ export declare const ErrorHTTPError$inboundSchema: z.ZodType; export declare function errorHTTPErrorFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ErrorTypeMcpToolExecutionError$inboundSchema: z.ZodEnum; /** @internal */ export declare const ErrorMcpToolExecutionError$inboundSchema: z.ZodType; export declare function errorMcpToolExecutionErrorFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ErrorTypeMcpProtocolError$inboundSchema: z.ZodEnum; /** @internal */ export declare const ErrorMcpProtocolError$inboundSchema: z.ZodType; export declare function errorMcpProtocolErrorFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ErrorT$inboundSchema: z.ZodType; export declare function errorFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const OutputItemMcpCallStatus$inboundSchema: z.ZodType; /** @internal */ export declare const OutputItemMcpCall$inboundSchema: z.ZodType; export declare function outputItemMcpCallFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=outputitemmcpcall.d.ts.map