UNPKG

690 BTypeScriptView Raw
1/**
2 * Create a standard string for the dom ID of an item.
3 * If a type is given, insert that before the counter, preceded by the type spacer
4 *
5 * @param itemId
6 * @param counter
7 * @param {string | null} type
8 * @param typeSpacer
9 * @returns {string}
10 */
11export function stateDomId(itemId?: string, counter?: number, type?: string | null, typeSpacer?: string): string;
12export function setConf(cnf: any): void;
13export function getClasses(text: string, diagramObj: any): object;
14export function draw(text: any, id: any, _version: any, diag: any): Promise<void>;
15declare namespace _default {
16 export { setConf };
17 export { getClasses };
18 export { draw };
19}
20export default _default;