export type MermaidViewProps = { code: string; isDark: boolean; /** Rendered in place of the diagram when it cannot be drawn — Core shows the source there. */ fallback: (reason: string) => unknown; }; export declare function MermaidView(props: MermaidViewProps): import("solid-js").JSX.Element;