@earendil-works/pi-coding-agent
Version:
Coding agent CLI with read, bash, edit, write tools and session management
12 lines • 632 B
TypeScript
import type { MarkdownTransformer } from "../../../core/extensions/types.ts";
import type { MermaidRenderingMode } from "../../../core/settings-manager.ts";
import type { Theme } from "../theme/theme.ts";
type MermaidTheme = Pick<Theme, "fg" | "getFgAnsi">;
interface MermaidTransformerOptions {
getMode: () => MermaidRenderingMode;
theme?: MermaidTheme;
}
/** Create a transformer that replaces top-level Mermaid code blocks with Unicode terminal diagrams. */
export declare function createMermaidMarkdownTransformer(options: MermaidTransformerOptions): MarkdownTransformer;
export {};
//# sourceMappingURL=mermaid.d.ts.map