/** * `BriefTypeRecipe` — the declarative definition of a Sitecore Content * Operations brief type (the schema template a brief instance is built * against). * * This schema is the single source of truth for the `brief-type` recipe * kind: it validates recipe files, drives the `sync` CLI, and becomes * the MCP tool input schema. Keep the `.describe()` text accurate — the * model reads it. See docs/recipe-sync-architecture.md. * * Brief *instances* are runtime data and are out of scope — this kind * covers only the type/config (its fields). */ import { z } from "zod"; /** A localized label: BCP-47-ish locale (e.g. `en-us`) → string. */ export declare const LocalizedStringSchema: z.ZodRecord; /** A free-form rich-text field. */ export declare const RichTextFieldSchema: z.ZodObject<{ name: z.ZodString; label: z.ZodRecord; helpText: z.ZodOptional>; required: z.ZodBoolean; aiEditable: z.ZodBoolean; aiIntent: z.ZodOptional; type: z.ZodLiteral<"RichText">; }, z.core.$strip>; /** A single date-time field. */ export declare const DateTimeFieldSchema: z.ZodObject<{ name: z.ZodString; label: z.ZodRecord; helpText: z.ZodOptional>; required: z.ZodBoolean; aiEditable: z.ZodBoolean; aiIntent: z.ZodOptional; type: z.ZodLiteral<"DateTime">; }, z.core.$strip>; /** * A simple boolean field (true/false). Observed on SitecoreAI's * built-in types — `SitecoreAIEvaluation.QualifiedBANT` is a Boolean * gate the rest of the eval defers to. Persisted as `true`/`false` on * brief instances. */ export declare const BooleanFieldSchema: z.ZodObject<{ name: z.ZodString; label: z.ZodRecord; helpText: z.ZodOptional>; required: z.ZodBoolean; aiEditable: z.ZodBoolean; aiIntent: z.ZodOptional; type: z.ZodLiteral<"Boolean">; }, z.core.$strip>; /** A timeline field — a schedule with holiday/weekend handling. */ export declare const TimelineFieldSchema: z.ZodObject<{ calculation: z.ZodNumber; skipHolidays: z.ZodBoolean; skipWeekend: z.ZodBoolean; timezone: z.ZodString; name: z.ZodString; label: z.ZodRecord; helpText: z.ZodOptional>; required: z.ZodBoolean; aiEditable: z.ZodBoolean; aiIntent: z.ZodOptional; type: z.ZodLiteral<"Timeline">; }, z.core.$strip>; /** A budget field — a monetary value constrained to a currency set. */ export declare const BudgetFieldSchema: z.ZodObject<{ currencies: z.ZodArray; name: z.ZodString; label: z.ZodRecord; helpText: z.ZodOptional>; required: z.ZodBoolean; aiEditable: z.ZodBoolean; aiIntent: z.ZodOptional; type: z.ZodLiteral<"Budget">; }, z.core.$strip>; /** A brief-type field — discriminated on `type`. */ export declare const BriefFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ name: z.ZodString; label: z.ZodRecord; helpText: z.ZodOptional>; required: z.ZodBoolean; aiEditable: z.ZodBoolean; aiIntent: z.ZodOptional; type: z.ZodLiteral<"RichText">; }, z.core.$strip>, z.ZodObject<{ name: z.ZodString; label: z.ZodRecord; helpText: z.ZodOptional>; required: z.ZodBoolean; aiEditable: z.ZodBoolean; aiIntent: z.ZodOptional; type: z.ZodLiteral<"DateTime">; }, z.core.$strip>, z.ZodObject<{ name: z.ZodString; label: z.ZodRecord; helpText: z.ZodOptional>; required: z.ZodBoolean; aiEditable: z.ZodBoolean; aiIntent: z.ZodOptional; type: z.ZodLiteral<"Boolean">; }, z.core.$strip>, z.ZodObject<{ calculation: z.ZodNumber; skipHolidays: z.ZodBoolean; skipWeekend: z.ZodBoolean; timezone: z.ZodString; name: z.ZodString; label: z.ZodRecord; helpText: z.ZodOptional>; required: z.ZodBoolean; aiEditable: z.ZodBoolean; aiIntent: z.ZodOptional; type: z.ZodLiteral<"Timeline">; }, z.core.$strip>, z.ZodObject<{ currencies: z.ZodArray; name: z.ZodString; label: z.ZodRecord; helpText: z.ZodOptional>; required: z.ZodBoolean; aiEditable: z.ZodBoolean; aiIntent: z.ZodOptional; type: z.ZodLiteral<"Budget">; }, z.core.$strip>], "type">; /** The full brief-type recipe. */ export declare const BriefTypeRecipeSchema: z.ZodObject<{ name: z.ZodString; label: z.ZodRecord; description: z.ZodString; icon: z.ZodString; iconColor: z.ZodString; fields: z.ZodDefault; helpText: z.ZodOptional>; required: z.ZodBoolean; aiEditable: z.ZodBoolean; aiIntent: z.ZodOptional; type: z.ZodLiteral<"RichText">; }, z.core.$strip>, z.ZodObject<{ name: z.ZodString; label: z.ZodRecord; helpText: z.ZodOptional>; required: z.ZodBoolean; aiEditable: z.ZodBoolean; aiIntent: z.ZodOptional; type: z.ZodLiteral<"DateTime">; }, z.core.$strip>, z.ZodObject<{ name: z.ZodString; label: z.ZodRecord; helpText: z.ZodOptional>; required: z.ZodBoolean; aiEditable: z.ZodBoolean; aiIntent: z.ZodOptional; type: z.ZodLiteral<"Boolean">; }, z.core.$strip>, z.ZodObject<{ calculation: z.ZodNumber; skipHolidays: z.ZodBoolean; skipWeekend: z.ZodBoolean; timezone: z.ZodString; name: z.ZodString; label: z.ZodRecord; helpText: z.ZodOptional>; required: z.ZodBoolean; aiEditable: z.ZodBoolean; aiIntent: z.ZodOptional; type: z.ZodLiteral<"Timeline">; }, z.core.$strip>, z.ZodObject<{ currencies: z.ZodArray; name: z.ZodString; label: z.ZodRecord; helpText: z.ZodOptional>; required: z.ZodBoolean; aiEditable: z.ZodBoolean; aiIntent: z.ZodOptional; type: z.ZodLiteral<"Budget">; }, z.core.$strip>], "type">>>; }, z.core.$strip>; /** A validated brief-type recipe. */ export type BriefTypeRecipe = z.infer; /** A brief-type field within a recipe (discriminated on `type`). */ export type BriefRecipeField = z.infer; /** A localized string within a recipe. */ export type RecipeLocalizedString = z.infer;