/** * Zod schema mirror of {@link Blueprint}. Structural-mirror discipline * matches `data-contract.ts`'s posture: the TS interface in * `../types/blueprint.ts` is the declared source of truth; the schema * here is `z.ZodType` so any drift fails compile. */ import { z } from 'zod'; import type { AppBlueprintSearchConfig, Blueprint, BlueprintVariance } from '../types/blueprint.js'; import type { BlueprintSource, CuratedBlueprintSource, LlmBlueprintSource, UserBlueprintSource } from '../types/blueprint-source.js'; /** * Zod mirror of {@link LlmBlueprintSource} — the engine-generated arm. * Both provenance fields are REQUIRED: every generation mint site has * them in scope, and an engine-generated artifact that cannot name its * engine + model is not a real state. Since ggui#924 the identity is * de-modeled (`ui-gen-`) and the model is the run's `ModelRef`. */ export declare const llmBlueprintSourceSchema: z.ZodType; /** Zod mirror of {@link UserBlueprintSource} — no engine claim exists. */ export declare const userBlueprintSourceSchema: z.ZodType; /** Zod mirror of {@link CuratedBlueprintSource}. */ export declare const curatedBlueprintSourceSchema: z.ZodType; /** * Zod mirror of {@link BlueprintSource} — the single provenance * vocabulary for blueprints. Mirrors `parseBlueprintSource`'s arms; * `.strict()` members so stray keys surface at the wire layer rather * than riding through. */ export declare const blueprintSourceSchema: z.ZodType; /** * Zod mirror of {@link BlueprintVariance}. The single shared variance * schema: every seam that accepts a variance block (handshake draft, * render override, operator blueprint tools) reuses this one * rather than re-declaring the shape inline. `.strict()` so an unknown * key surfaces as a typo at the wire layer rather than being silently * dropped. The per-field `.describe()` strings ship as JSON-Schema * metadata via `tools/list`, so they stay mechanism-only and * vendor-neutral. */ /** The four — and only — variance keys; the strict object names them on rejection. */ export declare const BLUEPRINT_VARIANCE_KEYS: readonly ["persona", "aesthetic", "context", "seedPrompt"]; export declare const blueprintVarianceSchema: z.ZodType; /** * Zod mirror of {@link Blueprint}. Required fields are listed first; * `passthrough()` is intentionally NOT applied — blueprint rows are * a closed shape (every field is enumerated here), and stray fields * in persisted rows are a bug worth surfacing rather than tolerating. */ export declare const blueprintSchema: z.ZodType; /** * Zod mirror of {@link AppBlueprintSearchConfig}. All fields optional; * server applies the global default for any axis the operator omits. */ export declare const appBlueprintSearchConfigSchema: z.ZodType; //# sourceMappingURL=blueprint.d.ts.map