/** * generate_all — end-to-end orchestrator with two operating modes * * MODE 1: ATOMIC (host supports MCP sampling — Claude Desktop, Cursor, …) * detect → select screens (sampling) → build+screenshot OR virtual render → * analyze → design HTML (sampling) → batch render → metadata (sampling) → * export. All in one tool call. * * MODE 2: BOOTSTRAP (host does NOT support sampling — Claude Code CLI) * The tool runs all DETERMINISTIC stages (detect, build, screenshot, analyze) * then returns a "work order" — a structured packet listing exactly what * the agent (Claude in the Claude Code session) should do next, with all * the data it needs already gathered. The agent reads it, designs HTML * per screen, calls generate_mockup(render), fills metadata, and finally * calls export_assets — all from the existing agent loop, no sampling needed. * * The mode is auto-detected at the start by probing sampling once. */ export interface OrchestrationStage { name: string; status: "ok" | "skipped" | "error"; duration_ms: number; note?: string; error?: string; } export declare function generateAll(args: Record): Promise>; //# sourceMappingURL=orchestrate.d.ts.map