import { type ReactNode } from 'react'; import { type Point } from './editorPrimitives.js'; import { type EdgeSelection } from './graphEditorState.js'; /** Drop indicators, the connection line and the selection, drawn in the graph's own coordinates. */ export declare function GraphEditorCanvas(): import("react").JSX.Element | null; /** A multi-job box's handle for moving all its jobs at once. */ export declare function BoxGrip({ jobs }: { jobs: string[]; }): import("react").JSX.Element | null; /** A job row made draggable, with its menu and matrix badge; shift-click selects it. */ export declare function EditableJobRow({ job, label, badge, children, }: { job: string; label: string; badge?: boolean; children: ReactNode; }): string | number | bigint | boolean | import("react").JSX.Element | Iterable | Promise | import("react").ReactElement> | import("react").ReactPortal | null | undefined> | null | undefined; /** * A node's connector circles, where the graph draws its connector dots. Drag from the * right one to add jobs that depend on the node, from the left one to add what it needs. */ export declare function NodePorts({ jobs, left, right, drawLeft, drawRight, zIndex, }: { jobs: string[]; left: Point; right: Point; drawLeft: boolean; drawRight: boolean; zIndex: number; }): import("react").JSX.Element | null; /** A step row made draggable within its job, with its menu. */ export declare function EditableStepRow({ job, index, label, children, }: { job: string; index: number; label: string; children: ReactNode; }): string | number | bigint | boolean | import("react").JSX.Element | Iterable | Promise | import("react").ReactElement> | import("react").ReactPortal | null | undefined> | null | undefined; export declare function AddStepButton({ job }: { job: string; }): import("react").JSX.Element | null; /** Connector hit area: a click selects the dependency, shift adds it, a right-click opens its menu. */ export declare function EdgeHitPath({ d, edge }: { d: string; edge: EdgeSelection; }): import("react").JSX.Element | null; /** A selected connector's two ends; dragging one onto another job or node moves that end there. */ export declare function EdgeEnds({ edge, start, end, zIndex, }: { edge: EdgeSelection; start: Point; end: Point; zIndex: number; }): import("react").JSX.Element | null; /** Shown in place of the graph when the workflow has no jobs yet. */ /** The canvas of a graph with no jobs, which takes the graph's keys, so undo and paste still work. */ export declare function EmptyGraphEditor({ containerRef, overlays, height, removeBorder, }: { containerRef: (el: HTMLDivElement | null) => void; overlays: ReactNode; height: string; removeBorder?: boolean | undefined; }): import("react").JSX.Element;