cerebrate/webroot/js/node_modules/mermaid/dist/diagrams/state/stateRenderer-v2.d.ts

21 lines
757 B
TypeScript
Raw Normal View History

2023-10-05 11:00:51 +02:00
/**
* Create a standard string for the dom ID of an item.
* If a type is given, insert that before the counter, preceded by the type spacer
*
* @param itemId
* @param counter
* @param {string | null} type
* @param typeSpacer
* @returns {string}
*/
export function stateDomId(itemId?: string, counter?: number, type?: string | null, typeSpacer?: string): string;
export function setConf(cnf: any): void;
export function getClasses(text: string, diagramObj: any): Record<string, import('../../diagram-api/types.js').DiagramStyleClassDef>;
export function draw(text: any, id: any, _version: any, diag: any): Promise<void>;
declare namespace _default {
export { setConf };
export { getClasses };
export { draw };
}
export default _default;