import { Input } from './input'; import { Output } from './output'; import { Connection } from './connection'; import { Control } from './control'; import { NodeDataJSON } from './core'; export declare class Node { id: number; name: string; data: Map; inputs: Map; outputs: Map; controls: Map; position: [number, number]; static latestId: number; constructor(name: string); static nextId(): number; static resetId(): void; private add; addControl(control: Control): this; removeControl(control: Control): void; addInput(input: Input): this; removeInput(input: Input): void; addOutput(output: Output): this; removeOutput(output: Output): void; getConnections(): Connection[]; toJSON(): NodeDataJSON; static fromJSON(json: NodeDataJSON): Node; update(): void; }