UNPKG

@keadex/mina-react

Version:

React library to render C4 Model diagrams created with Keadex Mina.

15 lines (14 loc) 681 B
import { Diagram } from '@keadex/c4-model-ui-kit'; export declare function fetchGhRawFile(url: string, ghToken?: string): Promise<Response>; export declare function downloadDiagramData(projectRootUrl: string, diagramUrl: string, ghToken?: string): Promise<{ projectSettingsJson: string; plantuml: string; spec: string; } | undefined>; export declare function openRemoteDiagram(projectRootUrl: string, diagramUrl: string, ghToken?: string): Promise<Diagram | undefined>; declare const _default: { fetchGhRawFile: typeof fetchGhRawFile; downloadDiagramData: typeof downloadDiagramData; openRemoteDiagram: typeof openRemoteDiagram; }; export default _default;