import type { ClassicPreset } from 'rete';
import type { Socket } from './Socket.svelte';
export type PortParams<S extends Socket = Socket> = {
    socket: S;
    multipleConnections?: boolean;
    label?: string;
    description?: string;
    index?: number;
};
export declare class Port<S extends Socket = Socket> implements ClassicPreset.Port<S> {
    readonly socket: S;
    readonly id: string;
    readonly multipleConnections: boolean;
    label: string | undefined;
    description: string | undefined;
    index: number | undefined;
    constructor(params: PortParams<S>);
}
export declare class Output<S extends Socket = Socket> extends Port<S> implements ClassicPreset.Output<S> {
    constructor(params: PortParams<S>);
}
