import type { Socket, Input } from '../../socket'; import type { SocketType } from '../../plugins/typed-sockets'; import type { ClassicPreset } from 'rete'; import type { NodeFactory } from '../../editor'; import { AddPinNode, type AddPinNodeState } from '../AddPinNode'; export type MakeArrayNodeState = { type: SocketType; } & AddPinNodeState; export declare class MakeArrayNode extends AddPinNode { state: MakeArrayNodeState; initialValues: Record; numConnections: number; constructor(params: { factory: NodeFactory; initialValues: Record; numPins?: number; }); loadInitialValues(): void; changeType(to: SocketType): void; changeInputType(input: ClassicPreset.Input, to: SocketType): void; data(inputs?: Record> | undefined): Record | Promise>; onAddPin(index: number): void; addPin(): void; applyState(): void; }