import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * MCP approval request item: A request to approve or deny execution of an MCP tool call. */ export type MCPApprovalRequestWithId = { type: "mcp_approval_request"; /** * The unique ID of the message. */ id: string; arguments: string; name: string; serverLabel: string; /** * 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 MCPApprovalRequestWithId$inboundSchema: z.ZodType; /** @internal */ export type MCPApprovalRequestWithId$Outbound = { type: "mcp_approval_request"; id: string; arguments: string; name: string; server_label: string; response_id?: string | null | undefined; metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const MCPApprovalRequestWithId$outboundSchema: z.ZodType; export declare function mcpApprovalRequestWithIdToJSON(mcpApprovalRequestWithId: MCPApprovalRequestWithId): string; export declare function mcpApprovalRequestWithIdFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=mcpapprovalrequestwithid.d.ts.map