Files
infocom-systems-design/node_modules/mermaid/dist/diagrams/state/dataFetcher.d.ts
2025-10-03 22:27:28 +03:00

11 lines
697 B
TypeScript

import type { MermaidConfig } from '../../config.type.js';
import type { Edge, NodeData, StateStmt, StyleClass } from './stateDb.js';
/**
* 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
*
*/
export declare function stateDomId(itemId?: string, counter?: number, type?: string | null, typeSpacer?: string): string;
export declare const dataFetcher: (parent: StateStmt | undefined, parsedItem: StateStmt, diagramStates: Map<string, StateStmt>, nodes: NodeData[], edges: Edge[], altFlag: boolean, look: MermaidConfig["look"], classes: Map<string, StyleClass>) => void;
export declare const reset: () => void;