summaryrefslogtreecommitdiff
path: root/themes/blowfish/assets/lib/mermaid/__mocks__
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2024-04-28 17:33:09 +0200
committerChristoph Cullmann <cullmann@kde.org>2024-04-28 17:33:09 +0200
commite77051ccc4b47951bfa4fde2be436b1bb2fb113b (patch)
treef0b75ee3521da9c8cd39dac4359212348f70e4e8 /themes/blowfish/assets/lib/mermaid/__mocks__
parent4b355837824ac2422d371acef790f0f4249255c7 (diff)
use https://github.com/nunocoracao/blowfish.git
Diffstat (limited to 'themes/blowfish/assets/lib/mermaid/__mocks__')
-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;