import { IWidgetInputSlot, SharedIntersection } from '../interfaces'; import { INodeInputSlot, INodeOutputSlot, INodeSlot, IWidget } from '../litegraph'; import { ISerialisableNodeInput, ISerialisableNodeOutput } from '../types/serialisation'; type CommonIoSlotProps = SharedIntersection; export declare function shallowCloneCommonProps(slot: CommonIoSlotProps): CommonIoSlotProps; export declare function inputAsSerialisable(slot: INodeInputSlot): ISerialisableNodeInput; export declare function outputAsSerialisable(slot: INodeOutputSlot & { widget?: IWidget; }): ISerialisableNodeOutput; export declare function isINodeInputSlot(slot: INodeSlot): slot is INodeInputSlot; export declare function isINodeOutputSlot(slot: INodeSlot): slot is INodeOutputSlot; /** * Type guard: Whether this input slot is attached to a widget. * @param slot The slot to check. */ export declare function isWidgetInputSlot(slot: INodeInputSlot): slot is IWidgetInputSlot; export {};