/**
 * Mermaid diagram type definitions
 * @countermeasure/web-components/visualization/mermaid-diagram
 */
/** All supported Mermaid diagram types */
export type MermaidDiagramType = 'flowchart' | 'sequenceDiagram' | 'classDiagram' | 'stateDiagram' | 'erDiagram' | 'gantt' | 'pie' | 'journey' | 'gitGraph' | 'mindmap' | 'timeline' | 'sankey' | 'quadrantChart' | 'xychart' | 'block';
/** Theme options for Mermaid diagrams */
export type MermaidTheme = 'light' | 'dark' | 'auto';
/** Configuration for the MermaidDiagram component */
export interface MermaidDiagramConfig {
    /** Container element or CSS selector */
    container: HTMLElement | string;
    /** Mermaid diagram definition content */
    content: string;
    /**
     * Theme to apply.
     * @default 'auto'
     */
    theme?: MermaidTheme;
    /** Additional CSS class name */
    className?: string;
    /** Callback when rendering starts */
    onRenderStart?: () => void;
    /** Callback when rendering completes successfully */
    onRenderComplete?: (svg: SVGElement) => void;
    /** Callback when rendering fails */
    onRenderError?: (error: Error) => void;
}
/** Internal state for the component */
export interface MermaidDiagramState {
    isLoading: boolean;
    error: Error | null;
    svg: SVGElement | null;
}
//# sourceMappingURL=types.d.ts.map