summaryrefslogtreecommitdiff
path: root/themes/blowfish/assets/lib/mermaid/__mocks__/mermaidAPI.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'themes/blowfish/assets/lib/mermaid/__mocks__/mermaidAPI.d.ts')
-rw-r--r--themes/blowfish/assets/lib/mermaid/__mocks__/mermaidAPI.d.ts13
1 files changed, 13 insertions, 0 deletions
diff --git a/themes/blowfish/assets/lib/mermaid/__mocks__/mermaidAPI.d.ts b/themes/blowfish/assets/lib/mermaid/__mocks__/mermaidAPI.d.ts
new file mode 100644
index 0000000..52e7c9a
--- /dev/null
+++ b/themes/blowfish/assets/lib/mermaid/__mocks__/mermaidAPI.d.ts
@@ -0,0 +1,13 @@
+export declare const mermaidAPI: {
+ render: import("@vitest/spy").Mock<any, any>;
+ parse: (text: string, parseOptions?: import("../mermaidAPI.js").ParseOptions | undefined) => Promise<boolean>;
+ initialize: import("@vitest/spy").Mock<any, any>;
+ 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;