import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * MCP approval response item: The decision payload for a prior MCP approval request. */ export type MCPApprovalResponseWithId = { type: "mcp_approval_response"; approvalRequestId: string; approve: boolean; /** * The unique ID of the message. */ id: string; reason?: string | undefined; /** * The ID of the response that created this item, if any. */ responseId?: string | null | undefined; /** * Metadata from the response that created this item, if any. */ metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const MCPApprovalResponseWithId$inboundSchema: z.ZodType; /** @internal */ export type MCPApprovalResponseWithId$Outbound = { type: "mcp_approval_response"; approval_request_id: string; approve: boolean; id: string; reason?: string | undefined; response_id?: string | null | undefined; metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const MCPApprovalResponseWithId$outboundSchema: z.ZodType; export declare function mcpApprovalResponseWithIdToJSON(mcpApprovalResponseWithId: MCPApprovalResponseWithId): string; export declare function mcpApprovalResponseWithIdFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=mcpapprovalresponsewithid.d.ts.map