import * as z from "zod/v4"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; export type ArmorRule = { /** * Stable id, unique within its source; reported as the deciding rule when it fires. */ id: string; /** * What the rule matches, written for the classifier. */ instructions: string; /** * Display name shown in verdict explanations; defaults to the id. */ name?: string | undefined; /** * Probability at or above which the rule counts as matched. Defaults to 0.6 for hard-deny and soft-deny rules and 0.7 for allow rules (an exception needs stronger evidence to clear a matched soft deny). */ threshold?: number | undefined; }; /** @internal */ export declare const ArmorRule$inboundSchema: z.ZodType; /** @internal */ export type ArmorRule$Outbound = { id: string; instructions: string; name?: string | undefined; threshold?: number | undefined; }; /** @internal */ export declare const ArmorRule$outboundSchema: z.ZodType; export declare function armorRuleToJSON(armorRule: ArmorRule): string; export declare function armorRuleFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=armorrule.d.ts.map