export interface ViewerModule { name: string; slug: string; content: string; } export interface ViewerData { projectName: string; overview: string; modules: ViewerModule[]; lastRunAt: string | null; history: { commitSha: string; date: string; summary: string; moduleCount: number; }[]; } /** * Generates a self-contained HTML page for the local architecture viewer. * Data is injected as a JSON payload and rendered client-side with marked + mermaid. * * Security note: This page is served on localhost only, with data sourced * exclusively from the user's own local filesystem (docs/architecture/). * innerHTML is used intentionally to render trusted local markdown content * via the marked library - this is standard for local dev tools. */ export declare function getViewerHtml(data: ViewerData, options?: { static?: boolean; }): string;