/**
* Shared types and helpers for preview HTML generation.
*/
import type { AnySpec } from "../../specs/types.js";
import type { DesignToken } from "../../engine/registry.js";
import type { ResearchStore } from "../../research/engine.js";
export interface PreviewData {
projectName: string;
specs: AnySpec[];
tokens: DesignToken[];
research: ResearchStore | null;
generatedAt: string;
}
/** Escape HTML entities */
export declare function esc(str: string): string;
/** Sanitize CSS color — only allow known-safe patterns */
export declare function escColor(val: string): string;