/// declare module NODEEDITOR { export class GlobalState { } } declare module NODEEDITOR { interface IGraphEditorProps { globalState: GlobalState; } export class GraphEditor extends React.Component { constructor(props: IGraphEditorProps); render(): JSX.Element; } } declare module NODEEDITOR { /** * Interface used to specify creation options for the node editor */ export interface INodeEditorOptions { /** * Defines the DOM element that will host the node editor */ hostElement: HTMLDivElement; } /** * Class used to create a node editor */ export class NodeEditor { /** * Show the node editor * @param options defines the options to use to configure the node editor */ static Show(options: INodeEditorOptions): void; } }