import { Component, Type } from '@angular/core'; import { IO, Control } from 'rete'; export type SocketType = 'input' | 'output'; export type BindSocket = (el: HTMLElement, type: SocketType, io: IO) => void; export type BindControl = (el: HTMLElement, control: Control) => void; export interface Props { [key: string]: unknown; } export interface ElementProps extends Props { component: Type; props: Props; } export interface AngularControl

{ render?: 'angular' | string; component: Type; props: P; } export interface AngularComponentData

{ render?: 'angular' | string; component: Type; props?: P; } export interface AngularComponent

{ data: AngularComponentData; }