UNPKG

592 BTypeScriptView Raw
1import type { Diagram } from '../../Diagram.js';
2/**
3 * Draws Sankey diagram.
4 *
5 * @param text - The text of the diagram
6 * @param id - The id of the diagram which will be used as a DOM element id¨
7 * @param _version - Mermaid version from package.json
8 * @param diagObj - A standard diagram containing the db and the text and type etc of the diagram
9 */
10export declare const draw: (text: string, id: string, _version: string, diagObj: Diagram) => void;
11declare const _default: {
12 draw: (text: string, id: string, _version: string, diagObj: Diagram) => void;
13};
14export default _default;