/** * Frozen at v1. Hardcoded literal so repo edits to derivation logic can't * silently re-namespace existing tenants. The `__namespace_root_is_frozen` * test asserts this matches `uuidv5(DNS, "registry.sitecoreai.dev")`. */ export declare const NAMESPACE_ROOT = "d6c28e9f-21f3-56ee-ada3-f2a947c3d475"; export declare const NAMESPACE_TEMPLATE: string; export declare const NAMESPACE_RENDERING: string; export declare const NAMESPACE_PARTIAL_DESIGN: string; export declare const NAMESPACE_PAGE_DESIGN: string; export declare const NAMESPACE_SITE_BRANCH: string; export declare const NAMESPACE_CONTENT_ITEM: string; export declare const NAMESPACE_SITE: string; export declare const NAMESPACE_ENUMERATION: string; /** Internal: lets the test prove `NAMESPACE_ROOT` matches its derivation. */ export declare const _deriveNamespaceRoot: () => string; export declare const templateId: (site: string, handle: string) => string; export declare const renderingId: (site: string, handle: string) => string; export declare const designParametersTemplateId: (site: string, handle: string) => string; export declare const partialDesignId: (site: string, handle: string) => string; export declare const pageDesignId: (site: string, handle: string) => string; export declare const siteBranchId: (handle: string) => string; export declare const contentItemId: (site: string, handle: string) => string; /** * Page item identity — a `PageRecipe`'s concrete page in the site * content tree. Distinct namespace from `contentItemId`: a page is a * navigable item conforming to a page template, not a shared datasource * item, and `datasourceId(pageItemId(...), slot)` scopes page-local * datasources beneath it. Site-scoped seed like the rest of the family. */ export declare const NAMESPACE_PAGE: string; export declare const pageItemId: (site: string, handle: string) => string; /** * Recipe-internal refKey for a `SiteRecipe`'s site item. The actual * Sitecore site itemId is server-assigned by the Sites API at * `createSite` time; this refKey is the IR's identity for cross-op * resolution (dictionary phrases, taxonomy tags scoped under the site * inherit it). */ export declare const siteId: (handle: string) => string; /** * Recipe-internal refKey for a dictionary phrase item under a site. * Two emission paths land on this identity: * * 1. `SiteRecipe.dictionaryOverrides` — overrides an existing * `/Dictionary/` item. The executor seeds the * refKey via cross-recipe path lookup after * `CreateSiteFromTemplate` materialises the site's content tree * and any DictionaryRecipes have landed. * 2. `compileDictionaryRecipe` — emits a `CreateItem` for each * phrase entry under the dictionary's folder, parented to * `dictionaryFolderId(siteHandle, recipeName)`. * * Both produce the same uuidv5 so override SetFields and the original * CreateItem agree on identity even when authored from different * recipes. */ export declare const dictionaryPhraseId: (siteHandle: string, phraseName: string) => string; /** * Recipe-internal refKey for a `DictionaryRecipe`'s top-level * Dictionary Folder item. Lands at `/Dictionary//` * — sibling of the per-phrase Entry items. Per-DictionaryRecipe * grouping means multiple dictionaries can target the same host site * without colliding (each lands under its own subfolder). */ export declare const dictionaryFolderId: (siteHandle: string, recipeName: string) => string; /** * Recipe-internal refKey for a taxonomy folder (root) under a site. * Mirror of `dictionaryPhraseId` for the taxonomy tree — late-seeded * after the site materialises. */ export declare const taxonomyFolderId: (siteHandle: string, rootName: string) => string; /** * Recipe-internal refKey for a taxonomy tag item under a site's * taxonomy folder. Used when a SiteRecipe override list adds tags * beyond the SiteTemplate defaults — those become CreateItem ops * parented to the late-seeded taxonomy folder refKey. */ export declare const taxonomyTagId: (siteHandle: string, rootName: string, tagName: string) => string; /** * Stable refKey for the SXA Page Designs root item (the tenant-existing * item that holds the `TemplatesMapping` field). The orchestrator * pipeline-step seeds `crossRecipeRefs[] = pageDesignsRoot` at * execute time so SetField ops targeting the mapping resolve correctly. * * Not a Sitecore concept — purely a refKey our IR uses to coordinate * with the executor's pre-seed mechanism. */ export declare const PAGE_DESIGNS_ROOT_REF_KEY: string; /** Sections are scoped under their (site-scoped) template; seed `section:`. */ export declare const sectionId: (site: string, handle: string, sectionName: string) => string; /** Fields are scoped under their (site-scoped) template; the seed is the field name. */ export declare const fieldId: (site: string, handle: string, fieldName: string) => string; /** Sections of the parameters template scope under (site-scoped) `designParametersTemplateId`. */ export declare const designParametersSectionId: (site: string, handle: string, sectionName: string) => string; /** Fields of the parameters template scope under (site-scoped) `designParametersTemplateId`. */ export declare const designParameterFieldId: (site: string, handle: string, fieldName: string) => string; /** * Per-rendering Headless Variants folder. Lives at * `/
//` and conforms to * SXA's `HeadlessVariants` template. The refKey seed is unchanged * from the legacy "under the rendering item" location (`__variants` * scoped to the rendering's id) so existing caches continue to * resolve — only the path/template changed. */ export declare const variantsFolderId: (site: string, handle: string) => string; /** * Each Variant Definition item lives under the per-rendering * Headless Variants folder. Conforms to SXA's `Variant Definition` * template. */ export declare const variantId: (site: string, handle: string, variantName: string) => string; /** * Standard values is a child of the template whose template-of is the * template's own ID. The GUID is derived from the (site-scoped) template * ID with the `__standard-values` seed. */ export declare const standardValuesId: (site: string, handle: string) => string; /** * Standard values for a parameters template. Same `__standard-values` * seed pattern as `standardValuesId` but scoped under * `designParametersTemplateId(site, handle)` so params-template SV items don't * collide with the component-template SV under the same handle. */ export declare const designParametersStandardValuesId: (site: string, handle: string) => string; /** * Enumeration root item — backs an `EnumerationRecipe`. Lives at * `/` per-site. Children are the enum's * value items (see `enumValueId`). Site-scoped seed `::` * matches the rest of the per-component derivations so cross-site * pushes don't collide. */ export declare const enumerationFolderId: (site: string, handle: string) => string; /** * Deterministic refKey for a single enumeration value item. Scopes * under the EnumerationRecipe's `enumerationFolderId(site, handle)` so * the same value name (`primary`, `default`, etc.) produces distinct * GUIDs across enums. */ export declare const enumValueId: (parentRefKey: string, valueName: string) => string; /** * Per-site `Enumerations Folder` template. The folder layers in an * enumeration tree (root, per-section grouping, per-enum) all conform * to this template instead of Sitecore's generic Folder, so the SXA * editor recognises the layout and stamps the right icon. Site-scoped * because each site owns its own per-Project templates tree. */ export declare const enumerationsFolderTemplateId: (site: string) => string; /** * Deterministic refKey for one segment of an * `EnumerationRecipe.location.folder` grouping path under * `/<…segments…>`. Conforms to the per-site * `Enumerations Folder` template. Site-scoped + keyed on the segment's * cumulative path so two recipes in the same push pointing at * `folder: "Theme/Color"` reuse the `Theme` and `Theme/Color` folders * rather than colliding. * * Pass the cumulative path (e.g. `"Theme"` then `"Theme/Color"`) — not * just the leaf segment — so each level gets its own GUID seeded by its * full position in the tree. This keeps two folders named `Color` * (one under `Theme`, one under `Layout`) distinct. * * Same `NAMESPACE_PROJECT` family as section folders / Component * Folders buckets — all "site organisational folders" with the same * identity model. */ export declare const enumerationsGroupingFolderId: (site: string, cumulativePath: string) => string; /** * Per-site `Enumeration` template. The per-enum container items * (`Color Scheme`, `Heading Size`, `Background Themes`, etc.) conform * to this template — i.e. each enumeration is itself an `Enumeration`, * and its leaf values live below it as `Enumeration Value` children. * Carries an inner `Enumeration` Section + `Value` Single-Line Text * shared field so each per-enum container item can store its * canonical default (driven by `EnumerationRecipe.default`). Site- * scoped for the same reason as `enumerationsFolderTemplateId`. */ export declare const enumerationTemplateId: (site: string) => string; /** * The single Template Section under the per-site `Enumeration` * template, named `"Enumeration"` (mirrors the Enumeration Value * template's inner section so the field path on both templates is * structurally identical: `