import { Engine } from './index' ; import { NodeData , WorkerInputs , WorkerOutputs } from '../core/data' ; export abstract class Component { name : string ; data : unknown = { } ; engine : Engine | null = null ; constructor ( name ) { this . name = name ; } abstract worker ( node , inputs , outputs , ... args ) ; }