import { type ReactNode } from 'react'; import type { GraphDirection } from './connectorGeometry.js'; import { type JobHandlers } from './JobSummary.js'; import type { WorkflowJob } from './types.js'; export declare const dimClasses: (depth: number) => { level: string; node: string; edge: string; }; /** The rules dimming a level at `depth`, hoisted into the page once for every level that deep. */ export declare function DimRules({ depth }: { depth: number; }): import("react").JSX.Element; /** Which way the graph around a node runs; a run's graph on a phone runs down. */ export declare const GraphDirectionContext: import("react").Context; /** Dims what of a graph level isn't in the hovered job's lineage, while one is hovered. */ export declare function setDimmed(wrapper: HTMLElement, depth: number, hovering: boolean): void; interface NodeShell { id: string; /** Empty rows of its column above this node. */ rowsAbove: number; zBase: number; } /** One node of the graph: its jobs' box, raised above connectors while its lineage is shown. */ export declare function GraphNode({ id, job, rowsAbove, zBase, children, }: NodeShell & { /** The job hovering the node shows the lineage of. */ job: string; children: ReactNode; }): import("react").JSX.Element; /** A node of jobs that share their needs and dependents. */ export declare const JobNode: import("react").MemoExoticComponent<({ jobNames, jobs, handlers, preview, editable, ...shell }: NodeShell & { jobNames: string[]; jobs: Record; handlers: JobHandlers; preview: boolean; editable: boolean; }) => import("react").JSX.Element>; export {};