import { ClassicPreset } from 'rete'; export declare function serializePort(port: ClassicPreset.Input | ClassicPreset.Output): { id: string; label: string; socket: { name: string; }; }; export declare function serializeControl(control: ClassicPreset.Control): { __type: "ClassicPreset.InputControl"; id: string; readonly: boolean; type: any; value: any; };