UNPKG

626 BTypeScriptView Raw
1import type { Diagram } from '../../Diagram.js';
2/**
3 * Returns the all the styles from classDef statements in the graph definition.
4 *
5 * @param text - The text with the classes
6 * @param diagObj - The diagram object
7 * @returns ClassDef - The styles
8 */
9export declare const getClasses: (text: any, diagObj: any) => any;
10export declare const draw: (text: string, id: string, _version: string, diagObj: Diagram) => Promise<void>;
11declare const _default: {
12 draw: (text: string, id: string, _version: string, diagObj: Diagram) => Promise<void>;
13 getClasses: (text: any, diagObj: any) => any;
14};
15export default _default;