/** * `memi design-doc ` — Extract a design system from any public URL * and generate a structured DESIGN.md file. * * Fetches HTML + stylesheets, parses CSS tokens, then uses Claude to * synthesize a clean DESIGN.md covering colors, typography, spacing, * components, voice, and a Tailwind config sketch. * * Output is usable as AI context for `memi compose` or any Claude prompt. */ import type { Command } from "commander"; import type { MemoireEngine } from "../engine/core.js"; export interface DesignDocPayload { status: "completed" | "failed"; url: string; output: string; spec?: string; cssVarCount: number; colorCount: number; contrastFailCount: number; elapsedMs: number; error?: string; } export declare function registerDesignDocCommand(program: Command, engine: MemoireEngine): void;