import { type OperationIr } from "../ir/operations.js"; import { type PageDesignRecipe } from "../schema/recipe.js"; import { type CompileContext } from "./shared.js"; /** * Compile a `PageDesignRecipe` to an Operation IR. * * Emits: * 1. `CreateItem` for the page-design item (SXA Page Design template) * 2. `SetField(PartialDesigns)` — pipe-separated GUID list of partials * 3. `SetField(__Renderings)` — the device + JSON-layout shell (always * emitted), plus any own placements the design declares * * The recipe's `appliesTo` contributions to the Page Designs root's * `TemplatesMapping` field are NOT emitted here — that field is * cross-recipe (every page design contributes a slice) and a per-recipe * `kind: "string"` write would full-replace under the executor's write * semantics, with each page design overwriting its siblings. Use * `compileRecipeSet` (below) to compile a coherent set of recipes — * it aggregates `appliesTo` contributions across every page-design * recipe in the set into one combined IR. */ export declare function compilePageDesignRecipe(input: PageDesignRecipe, context: CompileContext): OperationIr;