/** * Page recipes: complete starter Page Specs for common page kinds. * * A recipe is static data. The YAML sources live in `src/recipes/page-recipes` * and are embedded by `scripts/generate-recipes-module.mjs`, so reading one * never touches the filesystem or the network. Every recipe validates with no * errors and no warnings, which a unit test enforces. */ export interface PageRecipe { /** Stable kebab-case name, e.g. `dashboard`. */ name: string; /** One line on what the page shows. */ summary: string; /** Situations the recipe fits. */ useCases: string[]; /** Every block type the spec uses, nested ones included, sorted. */ blocks: string[]; /** The starter Page Spec as YAML text. */ spec: string; } /** A recipe listing entry: everything but the spec text. */ export type PageRecipeSummary = Omit; /** Every recipe without its spec, sorted by name. */ export declare function recipes(): PageRecipeSummary[]; /** The recipe called `name`. An unknown name throws and lists the allowed names. */ export declare function recipe(name: string): PageRecipe; //# sourceMappingURL=index.d.ts.map