package.dist.__mocks__.mermaidAPI.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mermaid Show documentation
Show all versions of mermaid Show documentation
Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.
export declare const mermaidAPI: {
render: import("vitest").Mock;
parse: {
(text: string, parseOptions: import("../types.js").ParseOptions & {
suppressErrors: true;
}): Promise;
(text: string, parseOptions?: import("../types.js").ParseOptions | undefined): Promise;
};
initialize: import("vitest").Mock;
getConfig: () => import("../config.type.js").MermaidConfig;
setConfig: (conf: import("../config.type.js").MermaidConfig) => import("../config.type.js").MermaidConfig;
getSiteConfig: () => import("../config.type.js").MermaidConfig;
updateSiteConfig: (conf: import("../config.type.js").MermaidConfig) => import("../config.type.js").MermaidConfig;
reset: () => void;
globalReset: () => void;
defaultConfig: import("../config.type.js").MermaidConfig;
};
export default mermaidAPI;