import type { ExcalidrawTextElement } from "@excalidraw/excalidraw/element/types"; import type { Arrowhead } from "@excalidraw/excalidraw/element/types"; import { ContainerStyle, LabelStyle, SubGraph, Vertex } from "../interfaces.js"; import { ExcalidrawVertexElement } from "../types.js"; import type { Mutable } from "@excalidraw/excalidraw/common/utility-types"; import { Edge } from "../parser/flowchart.js"; /** * Compute groupIds for each element */ export interface ArrowType { startArrowhead?: Arrowhead | null; endArrowhead?: Arrowhead | null; } export declare const computeExcalidrawArrowType: (mermaidArrowType: string) => ArrowType; export declare const getText: (element: Vertex | Edge | SubGraph) => string; /** * Compute style for vertex */ export declare const computeExcalidrawVertexStyle: (style: ContainerStyle) => Partial>; /** * Compute style for label */ export declare const computeExcalidrawVertexLabelStyle: (style: LabelStyle) => Partial>;