export interface ErEdge { parent: string; child: string; label: string; cardinality?: "one" | "many" | undefined; } export declare const THEME_INIT: string; export declare function packageFlowchart(edges: { from: string; to: string; n: number; }[], counts: Map): string; export declare function inheritanceTree(rows: { name: string; level: number; self?: boolean; }[]): string; export declare const RICH_MAX = 8; export declare function domainColor(pkg: string): { fill: string; stroke: string; text: string; }; export interface ErAttr { type: string; name: string; key: "PK" | "FK" | "UK" | ""; note: string; } export interface ErNode { name: string; pkg: string; role: "focal" | "view" | "external" | "normal"; kind?: string; attrs: ErAttr[]; more: number; } export declare function erDiagramRich(nodes: ErNode[], edges: ErEdge[]): string; export declare function flowchartDomain(nodes: { name: string; pkg: string; kind?: string; }[], edges: { from: string; to: string; label?: string; style?: "dashed" | undefined; }[]): { mermaid: string; legend: { pkg: string; fill: string; stroke: string; }[]; }; //# sourceMappingURL=mermaid.d.ts.map