import { z } from "zod"; /** * A content-only template. Has fields but no rendering — exists as a data * shape referenced by other recipes via: * * - A `reference` field with `sitecore.sourceTypes: [""]` * (related-items pattern: items live wherever, picker filters by template) * - `insertOptions: [""]` on a parent recipe (child-item pattern: * items live as children of the parent's datasource) * * Not placeable on a page directly. The compiler emits the template, * sections, fields, and standard values — but no rendering item. * * Examples: accordion-item, tabs-item, faq-item — content shapes that * appear as part of a parent component, never standalone. */ export declare const ContentTemplateRecipeSchema: z.ZodObject<{ kind: z.ZodLiteral<"content-template">; schemaVersion: z.ZodLiteral<"1">; handle: z.ZodString; name: z.ZodString; displayName: z.ZodString; description: z.ZodOptional; meta: z.ZodOptional>; group: z.ZodOptional>; subgroup: z.ZodOptional>; tag: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>>; fields: z.ZodDefault; values: z.ZodOptional>; multiple: z.ZodOptional; default: z.ZodOptional]>>; role: z.ZodOptional; sitecore: z.ZodOptional>; source: z.ZodOptional; types: z.ZodOptional>; query: z.ZodOptional; scope: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"raw">; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"plugin">; id: z.ZodString; defaultAppId: z.ZodString; }, z.core.$strip>], "kind">>; hint: z.ZodOptional; required: z.ZodOptional; defaultValue: z.ZodOptional]>>; enumHandle: z.ZodOptional; sortOrder: z.ZodOptional; section: z.ZodOptional; storage: z.ZodOptional>; }, z.core.$loose>>; }, z.core.$strip>>>; insertOptions: z.ZodOptional>; defaultWorkflow: z.ZodOptional; mediaLocation: z.ZodOptional; subfolder: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ scope: z.ZodLiteral<"site">; subfolder: z.ZodOptional; }, z.core.$strip>], "scope">>; }, z.core.$strip>; export type ContentTemplateRecipe = z.input; /** * A standalone Parameters Template — a Sitecore template item that holds * rendering-parameter fields, referenced from one or more * `ComponentTemplateRecipe.parameters`. Lands at * `/
/Presentation Parameters/`. * * Authoring shape mirrors a stripped-down ContentTemplateRecipe — the * compiler emits a Template + Section + Field children + standard * values, parented under the section's "Presentation Parameters" * folder. Distinct from inline `params:` (which the compiler hoists * into an anonymous parameters template owned by one component); * standalone parameters templates are reusable across components. * * Identity: `designParametersTemplateId(handle)` derives the deterministic GUID. * Same identity scheme as the inline-hoisted variant — the seed is the * recipe handle, and the namespace is `NAMESPACE_TEMPLATE`. The seed * suffix is `::params`, identical between inline and standalone forms, * which keeps re-pushes idempotent if a recipe migrates from inline to * standalone (the GUID stays the same). */ export declare const DesignParametersTemplateRecipeSchema: z.ZodObject<{ kind: z.ZodLiteral<"design-parameters-template">; schemaVersion: z.ZodLiteral<"1">; handle: z.ZodString; name: z.ZodString; displayName: z.ZodString; description: z.ZodOptional; icon: z.ZodOptional; section: z.ZodObject<{ handle: z.ZodString; }, z.core.$strip>; params: z.ZodDefault; values: z.ZodOptional>; default: z.ZodOptional]>>; sitecore: z.ZodOptional>; source: z.ZodOptional; types: z.ZodOptional>; query: z.ZodOptional; scope: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"raw">; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"plugin">; id: z.ZodString; defaultAppId: z.ZodString; }, z.core.$strip>], "kind">>; hint: z.ZodOptional; required: z.ZodOptional; defaultValue: z.ZodOptional]>>; enumHandle: z.ZodOptional; sortOrder: z.ZodOptional; section: z.ZodOptional; storage: z.ZodOptional>; }, z.core.$loose>>; }, z.core.$strip>>>; }, z.core.$strip>; export type DesignParametersTemplateRecipe = z.input; /** * A concrete content item — one Sitecore item conforming to a content * template, populated with the recipe's field values. The instance-side * companion to `ContentTemplateRecipe`: templates declare shape, content * items declare instance. * * Used as the `kind: "shared"` datasource target for `PartialDesignRecipe` * and `PageDesignRecipe` placements (e.g. `site-logo-content@1`, * `primary-nav-content@1`). The handle is load-bearing — `contentItemId` * derives the deterministic Sitecore GUID from it. * * Field-shape ↔ template-shape validation is deferred to the * compiler (it requires cross-recipe lookup; Zod can't enforce it alone). */ export declare const ContentItemRecipeSchema: z.ZodObject<{ kind: z.ZodLiteral<"content-item">; schemaVersion: z.ZodLiteral<"1">; handle: z.ZodString; name: z.ZodString; displayName: z.ZodString; description: z.ZodOptional; templateType: z.ZodString; folder: z.ZodOptional]>, z.ZodTransform>, z.ZodArray>>; mediaLocation: z.ZodOptional; subfolder: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ scope: z.ZodLiteral<"site">; subfolder: z.ZodOptional; }, z.core.$strip>], "scope">>; fields: z.ZodDefault; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"richText">; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"boolean">; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"number">; value: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"integer">; value: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"date">; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"datetime">; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"enum">; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"image">; mediaPath: z.ZodString; alt: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; mediaLibraryFolder: z.ZodOptional; role: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"link-external">; href: z.ZodString; text: z.ZodOptional; target: z.ZodOptional; title: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"link-internal">; ref: z.ZodString; text: z.ZodOptional; target: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"reference">; refs: z.ZodArray; }, z.core.$strip>], "shape">>>; translations: z.ZodOptional; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"richText">; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"boolean">; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"number">; value: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"integer">; value: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"date">; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"datetime">; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"enum">; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"image">; mediaPath: z.ZodString; alt: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; mediaLibraryFolder: z.ZodOptional; role: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"link-external">; href: z.ZodString; text: z.ZodOptional; target: z.ZodOptional; title: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"link-internal">; ref: z.ZodString; text: z.ZodOptional; target: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"reference">; refs: z.ZodArray; }, z.core.$strip>], "shape">>>; }, z.core.$strip>>>; versions: z.ZodOptional; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"richText">; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"boolean">; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"number">; value: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"integer">; value: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"date">; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"datetime">; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"enum">; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"image">; mediaPath: z.ZodString; alt: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; mediaLibraryFolder: z.ZodOptional; role: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"link-external">; href: z.ZodString; text: z.ZodOptional; target: z.ZodOptional; title: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"link-internal">; ref: z.ZodString; text: z.ZodOptional; target: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"reference">; refs: z.ZodArray; }, z.core.$strip>], "shape">>>; workflowState: z.ZodOptional; date: z.ZodOptional; layout: z.ZodOptional>>>>; }, z.core.$strip>>>; variants: z.ZodOptional; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"richText">; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"boolean">; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"number">; value: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"integer">; value: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"date">; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"datetime">; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"enum">; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"image">; mediaPath: z.ZodString; alt: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; mediaLibraryFolder: z.ZodOptional; role: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"link-external">; href: z.ZodString; text: z.ZodOptional; target: z.ZodOptional; title: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"link-internal">; ref: z.ZodString; text: z.ZodOptional; target: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"reference">; refs: z.ZodArray; }, z.core.$strip>], "shape">>>; layout: z.ZodOptional>>>>; }, z.core.$strip>>>; }, z.core.$strip>>>; }, z.core.$strip>>>>; shared: z.ZodOptional; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"richText">; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"boolean">; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"number">; value: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"integer">; value: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"date">; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"datetime">; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"enum">; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"image">; mediaPath: z.ZodString; alt: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; mediaLibraryFolder: z.ZodOptional; role: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"link-external">; href: z.ZodString; text: z.ZodOptional; target: z.ZodOptional; title: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"link-internal">; ref: z.ZodString; text: z.ZodOptional; target: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ shape: z.ZodLiteral<"reference">; refs: z.ZodArray; }, z.core.$strip>], "shape">>>; workflow: z.ZodOptional; }, z.core.$strip>; export type ContentItemRecipe = z.input;