import * as z from "zod/v4"; import * as discriminatedUnionTypes from "../types/discriminatedUnion.js"; import { ClosedEnum, OpenEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; export type ToolUsesUnavailable = { reason: string; type: "unavailable"; }; export type ToolUsesSkipped = { type: "skipped"; }; export declare const OutcomeEnum: { readonly Flagged: "flagged"; readonly NotFlagged: "not_flagged"; }; export type OutcomeEnum = OpenEnum; export type ToolUsesEvaluated = { explanation?: string | undefined; outcome: OutcomeEnum; type: "evaluated"; }; export type ToolUses = ToolUsesEvaluated | ToolUsesSkipped | ToolUsesUnavailable | discriminatedUnionTypes.Unknown<"type">; export declare const TypeAvailableEnum: { readonly Available: "available"; }; export type TypeAvailableEnum = ClosedEnum; export type ArmorSafeguardResultStatus = { toolUses: { [k: string]: ToolUsesEvaluated | ToolUsesSkipped | ToolUsesUnavailable | discriminatedUnionTypes.Unknown<"type">; }; type: TypeAvailableEnum; }; export declare const TypeDangerousToolUse: { readonly DangerousToolUse: "dangerous_tool_use"; }; export type TypeDangerousToolUse = ClosedEnum; /** * The outcome of OpenRouter Armor for each client tool call of the response, keyed by tool-call id, in the same shape Anthropic reports its server-side safeguards. */ export type ArmorSafeguardResult = { status: ArmorSafeguardResultStatus; type: TypeDangerousToolUse; }; /** @internal */ export declare const ToolUsesUnavailable$inboundSchema: z.ZodType; export declare function toolUsesUnavailableFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ToolUsesSkipped$inboundSchema: z.ZodType; export declare function toolUsesSkippedFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const OutcomeEnum$inboundSchema: z.ZodType; /** @internal */ export declare const ToolUsesEvaluated$inboundSchema: z.ZodType; export declare function toolUsesEvaluatedFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ToolUses$inboundSchema: z.ZodType; export declare function toolUsesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const TypeAvailableEnum$inboundSchema: z.ZodEnum; /** @internal */ export declare const ArmorSafeguardResultStatus$inboundSchema: z.ZodType; export declare function armorSafeguardResultStatusFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const TypeDangerousToolUse$inboundSchema: z.ZodEnum; /** @internal */ export declare const ArmorSafeguardResult$inboundSchema: z.ZodType; export declare function armorSafeguardResultFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=armorsafeguardresult.d.ts.map