/** * @license * Copyright 2023 Nuraly, Laabidi Aymen * SPDX-License-Identifier: MIT */ import type { ChatbotArtifact } from '../chatbot.types.js'; import { ChatPluginBase } from './chat-plugin.js'; import '../templates/artifact-diff-view.component.js'; /** * Flow Diagram Plugin — renders JSON artifacts that describe a workflow * (with Steps, Transitions, and optionally Events) as an interactive * split-view: Monaco JSON editor on the left, live flow diagram on the right. * * Resize preferences (split width, panel width) are persisted in localStorage. * Non-matching JSON artifacts return '' so the default renderer takes over. */ export declare class FlowDiagramPlugin extends ChatPluginBase { readonly id = "flow-diagram"; readonly name = "Flow Diagram"; readonly version = "1.0.0"; onInit(): void; renderArtifactContent(artifact: ChatbotArtifact): string; } //# sourceMappingURL=flow-diagram-plugin.d.ts.map