/** * Public entry for the type:"diagram" PI tool route (v0.2 slice 1). * * Dispatches to per-topology renderers based on the FgraphContent * discriminator, wraps the result in the standard fgraph HTML shell * (header + main + style block + aesthetic CSS). */ import type { FgraphAesthetic } from "../../types.js"; export { parseFgraphContent, SUPPORTED_TOPOLOGIES, type FgraphContent, type SupportedTopology, } from "./schemas.js"; export type { FgraphEdge, FgraphNode, FgraphSemantic, FgraphShape, FgraphTone, LayeredContent, LinearFlowContent, RadialHubContent, RadialPosition, RadialSpoke, SequenceContent, SequenceMessage, SequenceParticipant, } from "./schemas.js"; import type { FgraphContent } from "./schemas.js"; export interface GenerateDiagramInput { title: string; subtitle?: string; content: FgraphContent; aesthetic: FgraphAesthetic; } /** * Render a single-file HTML diagram from typed FgraphContent. Returns the * complete HTML string; the caller is responsible for writing it to disk * (see writeHtmlFile + openInBrowser in src/index.ts). */ export declare function generateDiagramTemplate(input: GenerateDiagramInput): string; //# sourceMappingURL=index.d.ts.map