/** * Treaty Extension Schema (v0.11.3+) * * Records agreement commitment levels in ext["org.peacprotocol/treaty"]. * 4-level commitment_class vocabulary: informational, operational, financial, legal. * * Governance: commitment_class is a CLOSED vocabulary. Adding new levels requires * a registry update in registries.json and a minor version bump. * * Terms pairing: when terms_hash is provided alongside terms_ref, the hash * SHOULD correspond to the content at terms_ref. Future enforcement may * verify this binding at verification time. */ import { z } from 'zod'; export declare const TREATY_EXTENSION_KEY: "org.peacprotocol/treaty"; /** * Commitment class vocabulary. * Ascending levels of binding commitment. */ export declare const COMMITMENT_CLASSES: readonly ["informational", "operational", "financial", "legal"]; export declare const CommitmentClassSchema: z.ZodEnum<{ informational: "informational"; operational: "operational"; financial: "financial"; legal: "legal"; }>; export type CommitmentClass = z.infer; /** * Treaty extension schema */ export declare const TreatySchema: z.ZodObject<{ commitment_class: z.ZodEnum<{ informational: "informational"; operational: "operational"; financial: "financial"; legal: "legal"; }>; terms_ref: z.ZodOptional; terms_hash: z.ZodOptional; counterparty: z.ZodOptional; effective_at: z.ZodOptional; expires_at: z.ZodOptional; }, z.core.$strict>; export type Treaty = z.infer; /** * Validate a Treaty object. */ export declare function validateTreaty(data: unknown): { ok: true; value: Treaty; } | { ok: false; error: string; }; //# sourceMappingURL=treaty.d.ts.map