import {DataType} from "../type/DataType";
import {Port} from "./Port";
import {PortDirection} from "./PortDirection";

export class NodeDescription {

    readonly inPorts: Port[]
    readonly outPorts: Port[]

    getPorts(): Port[]

    createPort(type: DataType, name: string, direction: PortDirection): number

    toJSON(): any
}
