import { type ShopBrief } from "../brief.js"; export declare function hexToRgb(hex: string): [number, number, number]; /** Adjust lightness: negative pct = darken toward black, positive = lighten toward white. */ export declare function adjustHex(hex: string, pct: number): string; export type DerivedPalette = { accent: string; accentDeep: string; accentDark: string; accentLight: string; cream: string; sand: string; }; /** Map the brief's {primary, background} into the storefront's core sol-* shades. */ export declare function derivePalette(palette: ShopBrief["palette"]): DerivedPalette; /** * Recolour the engine's active theme CSS (themes/generic.css) in place by * swapping ONLY the core sol-* token values — CLAUDE.md-compliant ("only change * values in themes/.css"), preserving the dark-mode block, glass/shadow * scale, utilities, and neutral ink/muted/sun. Each replace targets the FIRST * occurrence (the @theme block precedes the `:root.dark` overrides), so the * dark-mode values (e.g. accent-deep #000000) stay intact. */ export declare function patchThemeCssPalette(css: string, p: DerivedPalette): string; export declare function slugify(name: string): string; /** * Generate a reference themes/.css with the brief palette in the CORRECT * sol-* token names. Activation happens via patchThemeCssPalette on the active * theme file; this file documents the palette and is reusable. */ export declare function generateThemeCss(brief: ShopBrief): string; export declare function generatePromptModule(brief: ShopBrief): string; /** * Generate the engine-shaped IndustryTemplate from the brief, exported as * `genericTemplate` so it can OVERWRITE industry-templates/generic/seed-data.ts * (the registered slot prisma/seed.ts reads for brand.industryTemplate "generic"). * This is what makes the AI catalog actually seed. * * NB: priceDkk is stored in minor units (øre), and brief.priceMinor is already * minor units, so priceDkk = priceMinor (no division). */ export declare function generateSeedData(brief: ShopBrief): string;