/** * Status Command — Displays the current Mémoire project state across * project detection, Figma connection, specs, research, AI, and Notes. * * Ends with an actionable "Next step" hint based on what is and isn't * configured so the developer always knows what to run next. * * Usage: * memi status Print human-readable status * memi status --json Emit { ok, elapsed, data } JSON payload */ import type { Command } from "commander"; import type { MemoireEngine } from "../engine/core.js"; export interface StatusPayload { project: { framework: string; language: string; tailwind: boolean; tailwindVersion?: string; shadcnInstalled: boolean; shadcnComponents: number; }; figma: { connected: boolean; tokens: number; components: number; styles: number; lastSync: string; }; specs: { components: number; pages: number; dataviz: number; generated: number; total: number; }; research: { findings: number; themes: number; sources: number; highConfidence: number; qualityScore: number; sampleSize: number; quantitativeMetrics: number; }; ai: { apiKey: boolean; calls: number; usage: string | null; mode: string; }; notes: { builtIn: number; installed: number; total: number; }; } /** * Register the `memi status` command onto the Commander program. * * Prints a multi-section summary of the project and ends with a * recommended next action derived from the current state. * * @param program The root Commander Command instance. * @param engine The initialised MemoireEngine. */ export declare function registerStatusCommand(program: Command, engine: MemoireEngine): void; export declare function collectStatus(engine: MemoireEngine): Promise;