import { INodeInputSlot, INodeOutputSlot, Point } from '../interfaces'; import { LGraphNode } from '../LGraphNode'; export declare function getNodeInputOnPos(node: LGraphNode, x: number, y: number): { index: number; input: INodeInputSlot; pos: Point; } | undefined; export declare function getNodeOutputOnPos(node: LGraphNode, x: number, y: number): { index: number; output: INodeOutputSlot; pos: Point; } | undefined; /** * Returns the input slot index if the given position (in graph space) is on top of a node input slot. * A helper function - originally on the prototype of LGraphCanvas. */ export declare function isOverNodeInput(node: LGraphNode, canvasx: number, canvasy: number, slot_pos?: Point): number; /** * Returns the output slot index if the given position (in graph space) is on top of a node output slot. * A helper function - originally on the prototype of LGraphCanvas. */ export declare function isOverNodeOutput(node: LGraphNode, canvasx: number, canvasy: number, slot_pos?: Point): number;