Files
to_docx/client/node_modules/mermaid/dist/preprocess.d.ts
T
Chen Xiao 0b64e2de94 First commit.
Signed-off-by: Chen Xiao <abigwc@gmail.com>
2026-05-08 14:43:16 +08:00

12 lines
447 B
TypeScript

/**
* Preprocess the given code by cleaning it up, extracting front matter and directives,
* cleaning and merging configuration, and removing comments.
* @param code - The code to preprocess.
* @returns The object containing the preprocessed code, title, and configuration.
*/
export declare function preprocessDiagram(code: string): {
code: string;
title: string | undefined;
config: import("./config.type.js").MermaidConfig;
};