/** * The live preview viewer: one self-contained page, zero dependencies. * Served by preview.ts; renders wireframe mocks for every screen, state, * and viewport directly from the contract, and walks journeys by clicking * events. Reloads over SSE when the project file changes. * * When the project declares design tokens, the mock content is themed * (accent, bg, surface, text, muted, radius, font); without tokens the * wireframe stays grayscale. Comment mode drops pins on the mock and * persists them via the /comments endpoints. * * When the project, a journey, or a screen carries design rationale * (R20), an "ⓘ why" toggle reveals the evidence panel: decision, * reasoning, alternatives argued, sources, and a confidence chip. * * renderStandalone() turns this same template into a static, shareable * HTML file: project data embedded, SSE and comment mode removed. The * rationale panel is kept — it is the stakeholder-confidence deliverable. */ export declare const PREVIEW_TEMPLATE = "\n\n\n\n\nUXLoom preview\n\n\n\n\n
\n
\n
\n
\n
\n
\n\n\n\n"; /** * Turn the live template into one self-contained HTML file: project data * embedded in place of fetch("/project"), SSE removed (the bar shows * "static export · " instead of "live"), comment mode hidden, and * the structured edit mode stripped entirely (EDIT stays null, so no edit * UI ever renders and no /edit calls exist in the export). */ export declare function renderStandalone(projectJson: string): string;