diff options
author | Christoph Cullmann <cullmann@kde.org> | 2024-04-28 17:33:09 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2024-04-28 17:33:09 +0200 |
commit | e77051ccc4b47951bfa4fde2be436b1bb2fb113b (patch) | |
tree | f0b75ee3521da9c8cd39dac4359212348f70e4e8 /themes/blowfish/assets/lib/mermaid/__mocks__ | |
parent | 4b355837824ac2422d371acef790f0f4249255c7 (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.ts | 13 |
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; |