/** * Zod mirrors for the handshake-suggestion shapes * (`packages/protocol/src/types/handshake-suggestion.ts`). * * Structural-mirror discipline matches `data-contract.ts` / * `blueprint.ts`: TS interfaces in `../types/handshake-suggestion.ts` * are the declared source of truth; the schemas here are typed * `z.ZodType` so any drift fails compile. */ import { z } from 'zod'; import type { BlueprintDraft, BlueprintMeta, HandshakeSuggestion, JsonPatch, JsonPatchOp, SuggestionAmendments, SuggestionFinding, SuggestionOrigin } from '../types/handshake-suggestion.js'; /** Three-mode routing enum on {@link HandshakeSuggestion.origin}. */ export declare const suggestionOriginSchema: z.ZodType; /** Single JSON-Patch op (RFC 6902 subset — add/remove/replace). */ export declare const jsonPatchOpSchema: z.ZodType; /** `JsonPatch` — array of ops; subset support per the doc. */ export declare const jsonPatchSchema: z.ZodType; /** * Inner zod-object form of {@link blueprintDraftSchema}. Exposed so * the sync-check script can reflect `.shape` to enumerate fields; * normal consumers should prefer {@link blueprintDraftSchema} (typed * `z.ZodType`). */ /** The three — and only — draft keys; the strict object names them on rejection. */ export declare const BLUEPRINT_DRAFT_KEYS: readonly ["contract", "variance", "generator"]; export declare const blueprintDraftObjectSchema: z.ZodObject<{ contract: z.ZodType>; variance: z.ZodOptional>>; generator: z.ZodOptional; }, z.core.$strict>; /** `BlueprintDraft` — input shape on the handshake. */ export declare const blueprintDraftSchema: z.ZodType; /** `BlueprintMeta` — projected onto the handshake response. */ export declare const blueprintMetaSchema: z.ZodType; /** `SuggestionFinding` — validator finding surfaced on the suggestion. */ export declare const suggestionFindingSchema: z.ZodType; /** Synth amendment — JSON-Patch diff + reasoning. */ export declare const suggestionAmendmentsSchema: z.ZodType; /** The full handshake suggestion — produced in step-2 of the handshake. */ export declare const handshakeSuggestionSchema: z.ZodType; //# sourceMappingURL=handshake-suggestion.d.ts.map