///
import { Editor, EditorInitArgs, EditorTheme, KogitoEditorEnvelopeContextType } from "@kie-tools-core/editor/dist/api";
import { Notification } from "@kie-tools-core/notifications/dist/api";
import { ServerlessWorkflowMermaidViewerChannelApi } from "../api";
export declare class ServerlessWorkflowMermaidViewerView implements Editor {
private readonly envelopeContext;
private readonly initArgs;
private readonly editorRef;
af_isReact: boolean;
af_componentId: "serverless-workflow-mermaid-viewer";
af_componentTitle: "Serverless Workflow Mermaid Viewer";
constructor(envelopeContext: KogitoEditorEnvelopeContextType, initArgs: EditorInitArgs);
setContent(path: string, content: string): Promise;
getContent(): Promise;
getPreview(): Promise;
af_componentRoot(): JSX.Element;
undo(): Promise;
redo(): Promise;
validate(): Promise;
setTheme(theme: EditorTheme): Promise;
}
//# sourceMappingURL=ServerlessWorkflowMermaidViewerView.d.ts.map