UNPKG

rete

Version:
13 lines (12 loc) 339 B
import { Engine } from './index'; import { Node } from '../core/data'; export declare type IOs = { [key: string]: any; }; export declare abstract class Component { name: string; data: {}; engine: Engine | null; constructor(name: string); abstract worker(node: Node, inputs: IOs, outputs: IOs, ...args: any): any; }