import { type DiagramDrag, type DiagramScene } from '@pixerate/editor/canvas'; interface Props { /** The family's picture (`createMermaidDiagram().scene`, or `mermaidToScene`). */ scene: DiagramScene; /** Room around the drawing in px (default 16). */ padding?: number; /** Marks with a target get a pointer and report clicks (default true). */ interactive?: boolean; /** A mark was clicked: its node, edge, group or `::title` target (null: the background). */ onselect?: (target: string | null, event: MouseEvent) => void; /** A mark was double-clicked (rename it with `diagramRenameOp`). */ onopen?: (target: string, event: MouseEvent) => void; /** * Makes marks with a `drag` kind draggable (as `createMermaidDiagram().scene` has them when * editable): the node follows the pointer and the finished drag is reported for `drop`. */ ondragend?: (drag: DiagramDrag) => void; /** Colour of selected marks' outline (default `var(--primary, #2563eb)`). */ selectionColor?: string; /** Arrow head colour (default `var(--muted-foreground, #64748b)`). */ markerColor?: string; class?: string; style?: string; /** Accessible name (default: the family). */ title?: string; } declare const MermaidFamilyScene: import("svelte").Component; type MermaidFamilyScene = ReturnType; export default MermaidFamilyScene;