/** * IndustryMermaidDiagram Component * * A theme-aware Mermaid diagram renderer that uses the industry theme * This is a replacement for ConfigurableMermaidDiagram that doesn't depend on the old theme system */ import { Theme } from '@principal-ade/industry-theme'; import React from 'react'; interface IndustryMermaidDiagramProps { code: string; id: string; theme?: Theme; onCopyError?: (mermaidCode: string, errorMessage: string) => void; onError?: (hasError: boolean) => void; rootMargin?: string; isModalMode?: boolean; isFullSlide?: boolean; onExpandClick?: () => void; /** * When provided, renders an "open in tab" arrow button alongside the * fullscreen/expand button. Intended for consumers (e.g. the Alexandria * window) that want to open the diagram as its own tab rather than the * in-app modal that `onExpandClick` drives. */ onOpenInTab?: () => void; } export declare function IndustryMermaidDiagram({ code, id, theme: themeOverride, onCopyError, onError, rootMargin, isModalMode, isFullSlide, onExpandClick, onOpenInTab, }: IndustryMermaidDiagramProps): React.JSX.Element; export {}; //# sourceMappingURL=IndustryMermaidDiagram.d.ts.map