import * as z from "zod/v4"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; export declare const OutputArmorBlockedItemStatus: { readonly Completed: "completed"; }; export type OutputArmorBlockedItemStatus = ClosedEnum; export declare const OutputArmorBlockedItemType: { readonly OpenrouterArmorBlocked: "openrouter:armor_blocked"; }; export type OutputArmorBlockedItemType = ClosedEnum; /** * A client tool call that OpenRouter Armor blocked. Emitted in place of the call when `plugins[armor].output_mode` is `custom_item`. */ export type OutputArmorBlockedItem = { /** * The arguments exactly as the model wrote them. */ arguments: string; /** * The call id the model chose. Use it to find this call in `safeguard_results`. */ callId: string; /** * The rule that blocked the call, in the same `[Rule Name]` form as `safeguard_results`. */ explanation: string; id: string; /** * The name of the tool the model called. */ name: string; /** * The namespace the tool belongs to, for namespaced tools such as MCP. Absent for a plain function tool. */ namespace?: string | undefined; /** * The error text the model received as the result of this call. Sending this item back replays that text to the model. */ reason: string; status: OutputArmorBlockedItemStatus; type: OutputArmorBlockedItemType; }; /** @internal */ export declare const OutputArmorBlockedItemStatus$inboundSchema: z.ZodEnum; /** @internal */ export declare const OutputArmorBlockedItemStatus$outboundSchema: z.ZodEnum; /** @internal */ export declare const OutputArmorBlockedItemType$inboundSchema: z.ZodEnum; /** @internal */ export declare const OutputArmorBlockedItemType$outboundSchema: z.ZodEnum; /** @internal */ export declare const OutputArmorBlockedItem$inboundSchema: z.ZodType; /** @internal */ export type OutputArmorBlockedItem$Outbound = { arguments: string; call_id: string; explanation: string; id: string; name: string; namespace?: string | undefined; reason: string; status: string; type: string; }; /** @internal */ export declare const OutputArmorBlockedItem$outboundSchema: z.ZodType; export declare function outputArmorBlockedItemToJSON(outputArmorBlockedItem: OutputArmorBlockedItem): string; export declare function outputArmorBlockedItemFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=outputarmorblockeditem.d.ts.map