import * as z from "zod/v4"; import { Result as SafeParseResult } from "../types/fp.js"; import { ArmorAutoMode, ArmorAutoMode$Outbound } from "./armorautomode.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; /** * The Armor context: Claude Code's `classifier_context` (v1), with `auto_mode.{hard_deny,soft_deny,allow}` rules as strings or `{ id, instructions, threshold? }` objects and `auto_mode.environment` entries as `"Name: value"` strings or `{ name, value }` objects. `threshold` applies when Armor evaluates; when the provider evaluates natively (Anthropic dangerous-tool-use beta) rules are judged at the provider's own boundary. */ export type ArmorContext = { autoMode?: ArmorAutoMode | undefined; v: number; additionalProperties?: { [k: string]: any; } | undefined; }; /** @internal */ export declare const ArmorContext$inboundSchema: z.ZodType; /** @internal */ export type ArmorContext$Outbound = { auto_mode?: ArmorAutoMode$Outbound | undefined; v: number; [additionalProperties: string]: unknown; }; /** @internal */ export declare const ArmorContext$outboundSchema: z.ZodType; export declare function armorContextToJSON(armorContext: ArmorContext): string; export declare function armorContextFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=armorcontext.d.ts.map